diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -317,7 +317,7 @@ | |||
| 317 | (inputs: inputs // { inherit userName; }) | 317 | (inputs: inputs // { inherit userName; }) |
| 318 | (outputs: { _file = dir + "/${path}"; } | 318 | (outputs: { _file = dir + "/${path}"; } |
| 319 | // outputs | 319 | // outputs |
| 320 | // { imports = defaultUserProfiles userName ++ (outputs.imports or []); }); | 320 | // { imports = defaultUserProfiles userName ++ (outputs.imports or []); }); |
| 321 | 321 | ||
| 322 | mkUserProfile = userName: dir: path: profileName: | 322 | mkUserProfile = userName: dir: path: profileName: |
| 323 | let | 323 | let |
| @@ -341,7 +341,7 @@ | |||
| 341 | (inputs: inputs // { inherit userName hostName; }) | 341 | (inputs: inputs // { inherit userName hostName; }) |
| 342 | (outputs: { _file = dir + "/${path}"; } | 342 | (outputs: { _file = dir + "/${path}"; } |
| 343 | // outputs | 343 | // outputs |
| 344 | // { imports = [self.nixosModules.users.${userName} or ({...}: { imports = defaultUserProfiles userName; })] ++ (outputs.imports or []); }); | 344 | // { imports = [self.nixosModules.users.${userName} or ({...}: { imports = defaultUserProfiles userName; })] ++ (outputs.imports or []); }); |
| 345 | 345 | ||
| 346 | systemsSelector = "x86_64-linux"; | 346 | systemsSelector = "x86_64-linux"; |
| 347 | systems = filter (system: !(isNull (builtins.match systemsSelector system))) nixpkgs.lib.systems.flakeExposed; | 347 | systems = filter (system: !(isNull (builtins.match systemsSelector system))) nixpkgs.lib.systems.flakeExposed; |
