mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
flake.nix: add nixosModule and darwinModule to outputs (#1858)
This commit is contained in:
parent
b42d987ad9
commit
920ea74afe
1 changed files with 2 additions and 0 deletions
|
@ -3,8 +3,10 @@
|
||||||
|
|
||||||
outputs = { self, nixpkgs }: rec {
|
outputs = { self, nixpkgs }: rec {
|
||||||
nixosModules.home-manager = import ./nixos;
|
nixosModules.home-manager = import ./nixos;
|
||||||
|
nixosModule = self.nixosModules.home-manager;
|
||||||
|
|
||||||
darwinModules.home-manager = import ./nix-darwin;
|
darwinModules.home-manager = import ./nix-darwin;
|
||||||
|
darwinModule = self.darwinModules.home-manager;
|
||||||
|
|
||||||
lib = {
|
lib = {
|
||||||
hm = import ./modules/lib { lib = nixpkgs.lib; };
|
hm = import ./modules/lib { lib = nixpkgs.lib; };
|
||||||
|
|
Loading…
Reference in a new issue