flake.nix: add nixosModule and darwinModule to outputs (#1858)
This commit is contained in:
parent
b42d987ad9
commit
920ea74afe
|
@ -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