summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 7a3b61bc..0740732c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -123,7 +123,7 @@
123 in modulesAttrs // { inherit systemProfiles users userProfiles accounts; }; 123 in modulesAttrs // { inherit systemProfiles users userProfiles accounts; };
124 nixosConfigurations = recImport rec { dir = ./hosts; _import = mkNixosConfiguration dir; }; 124 nixosConfigurations = recImport rec { dir = ./hosts; _import = mkNixosConfiguration dir; };
125 125
126 homeManagerModules = recImport rec { dir = ./user-profiles; }; 126 homeManagerModules = recImport rec { dir = ./home-modules; };
127 homeManagerConfigurations = listToAttrs (concatMap ({hostName, users}: mapAttrsToList (userName: homeConfig: nameValuePair "${userName}@${hostName}" homeConfig) users) (mapAttrsToList (hostName: nixosConfig: { inherit hostName; users = nixosConfig.config.home-manager.users; }) (self.nixosConfigurations))); 127 homeManagerConfigurations = listToAttrs (concatMap ({hostName, users}: mapAttrsToList (userName: homeConfig: nameValuePair "${userName}@${hostName}" homeConfig) users) (mapAttrsToList (hostName: nixosConfig: { inherit hostName; users = nixosConfig.config.home-manager.users; }) (self.nixosConfigurations)));
128 128
129 overlay = import overlayPaths.pkgs; 129 overlay = import overlayPaths.pkgs;