diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -79,7 +79,7 @@ | |||
79 | (inputs: inputs // { inherit userName; }) | 79 | (inputs: inputs // { inherit userName; }) |
80 | (outputs: { _file = dir + "/${path}"; } | 80 | (outputs: { _file = dir + "/${path}"; } |
81 | // outputs | 81 | // outputs |
82 | // { imports = [self.nixosModules.userProfiles.${userName}.core] ++ (outputs.imports or []); }); | 82 | // { imports = defaultUserProfiles userName ++ (outputs.imports or []); }); |
83 | 83 | ||
84 | mkUserProfile = userName: dir: path: profileName: | 84 | mkUserProfile = userName: dir: path: profileName: |
85 | let | 85 | let |
@@ -102,7 +102,7 @@ | |||
102 | (inputs: inputs // { inherit userName; }) | 102 | (inputs: inputs // { inherit userName; }) |
103 | (outputs: { _file = dir + "/${path}"; } | 103 | (outputs: { _file = dir + "/${path}"; } |
104 | // outputs | 104 | // outputs |
105 | // { imports = defaultUserProfiles userName ++ (outputs.imports or []); }); | 105 | // { imports = [self.nixosModules.users.${userName} or ({...}: { imports = defaultUserProfiles userName; })] ++ (outputs.imports or []); }); |
106 | 106 | ||
107 | forAllSystems = f: mapAttrs f nixpkgs.legacyPackages; | 107 | forAllSystems = f: mapAttrs f nixpkgs.legacyPackages; |
108 | forAllUsers = genAttrs (unique (map accountUserName (attrNames self.nixosModules.accounts))); | 108 | forAllUsers = genAttrs (unique (map accountUserName (attrNames self.nixosModules.accounts))); |