diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-19 14:43:10 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-19 14:43:10 +0200 |
commit | 8dc44d61522a9d949ab73c8fd9834e4f62d618ea (patch) | |
tree | fac02e458641f5d7fe036ef5a555c36c2b913042 /flake.nix | |
parent | dc4b030cbacef0951f1349a051c61209a964d766 (diff) | |
download | nixos-8dc44d61522a9d949ab73c8fd9834e4f62d618ea.tar nixos-8dc44d61522a9d949ab73c8fd9834e4f62d618ea.tar.gz nixos-8dc44d61522a9d949ab73c8fd9834e4f62d618ea.tar.bz2 nixos-8dc44d61522a9d949ab73c8fd9834e4f62d618ea.tar.xz nixos-8dc44d61522a9d949ab73c8fd9834e4f62d618ea.zip |
output homeConfigurations
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |