diff --git a/flake.nix b/flake.nix index 29664c3..a18f2c7 100644 --- a/flake.nix +++ b/flake.nix @@ -42,6 +42,9 @@ trivium = overlay; }; + homeManagerModules.default = ./hm; + nixosModules.default = ./nixos; + lib = { mkSystemFlake = { flakes, @@ -151,7 +154,7 @@ hostConfig = platform: nixosSystem { modules = [ - ./nixos + self.nixosModules.default nixosSourcePath platform ]; @@ -177,7 +180,7 @@ }; modules = [ - ./hm + self.homeManagerModules.default hmSourcePath platform registry