summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-09-19 14:43:10 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-09-19 14:43:23 +0200
commit1bde6d09274a761b17bcb2f56207cb1cb37891b2 (patch)
tree59a604638068e8482c7ff94ef88055fac6128b60 /flake.nix
parentae55b491987ad12922b4d4a5786118f4cbc4f62a (diff)
downloadnixos-flakes-template.tar
nixos-flakes-template.tar.gz
nixos-flakes-template.tar.bz2
nixos-flakes-template.tar.xz
nixos-flakes-template.zip
output homeConfigurationsflakes-template
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index cdea44b0..96b21940 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;