summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2026-09-27 12:37:52 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2026-09-27 12:37:52 +0200
commitbadf7aba844967c5d13e01079c12df758715167a (patch)
tree3c0872b667a64a82caf7bab3d2503c9f7a6444b9 /flake.nix
parent74d97f767ac4d6f05ce95e388460a49c5190afc3 (diff)
downloadnixos-badf7aba844967c5d13e01079c12df758715167a.tar
nixos-badf7aba844967c5d13e01079c12df758715167a.tar.gz
nixos-badf7aba844967c5d13e01079c12df758715167a.tar.bz2
nixos-badf7aba844967c5d13e01079c12df758715167a.tar.xz
nixos-badf7aba844967c5d13e01079c12df758715167a.zip
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index fe70dce2..cf029809 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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;