mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +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 {
|
||||
nixosModules.home-manager = import ./nixos;
|
||||
nixosModule = self.nixosModules.home-manager;
|
||||
|
||||
darwinModules.home-manager = import ./nix-darwin;
|
||||
darwinModule = self.darwinModules.home-manager;
|
||||
|
||||
lib = {
|
||||
hm = import ./modules/lib { lib = nixpkgs.lib; };
|
||||
|
|
Loading…
Reference in a new issue