summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix3
-rw-r--r--user-profiles/core.nix2
2 files changed, 3 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 021146ea..bb3c45c5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -141,7 +141,8 @@
141 in modulesAttrs // { inherit systemProfiles users userProfiles accounts; }; 141 in modulesAttrs // { inherit systemProfiles users userProfiles accounts; };
142 nixosConfigurations = installerNixosConfigurations // nixImport rec { dir = ./hosts; _import = mkNixosConfiguration [] dir; }; 142 nixosConfigurations = installerNixosConfigurations // nixImport rec { dir = ./hosts; _import = mkNixosConfiguration [] dir; };
143 143
144 homeManagerModules = nixImport rec { dir = ./home-modules; }; 144 homeModules = nixImport rec { dir = ./home-modules; };
145 homeConfigurations = listToAttrs (concatLists (mapAttrsToList (hostname: nixosConfig: mapAttrsToList (username: configuration: nameValuePair "${username}@${hostname}" { inherit (configuration.home) activationPackage; }) nixosConfig.config.home-manager.users) self.nixosConfigurations));
145 146
146 overlay = final: prev: composeManyExtensions (attrValues self.overlays) final prev; 147 overlay = final: prev: composeManyExtensions (attrValues self.overlays) final prev;
147 overlays = mapAttrs (_name: path: import path) overlayPaths; 148 overlays = mapAttrs (_name: path: import path) overlayPaths;
diff --git a/user-profiles/core.nix b/user-profiles/core.nix
index ff8cb9f9..cb2c400e 100644
--- a/user-profiles/core.nix
+++ b/user-profiles/core.nix
@@ -3,7 +3,7 @@
3 users.users.${userName} = {}; # Just make sure the user is created 3 users.users.${userName} = {}; # Just make sure the user is created
4 4
5 home-manager.users.${userName} = { 5 home-manager.users.${userName} = {
6 imports = lib.attrValues flake.homeManagerModules; 6 imports = lib.attrValues flake.homeModules;
7 7
8 config = { 8 config = {
9 manual.manpages.enable = true; 9 manual.manpages.enable = true;