diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-06 17:02:08 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-06 17:02:08 +0200 |
commit | 950e06a621082d52d69e924668effb96083b5f86 (patch) | |
tree | 07e3c9e6f947260c89676a5342820a29c7fb4d29 | |
parent | 6fa1c975d2e7ff5d92bec5c7cac5a5c8faebb775 (diff) | |
parent | 81f351c4feb807797f1bd5b671936a52f40eb2c4 (diff) | |
download | nixos-950e06a621082d52d69e924668effb96083b5f86.tar nixos-950e06a621082d52d69e924668effb96083b5f86.tar.gz nixos-950e06a621082d52d69e924668effb96083b5f86.tar.bz2 nixos-950e06a621082d52d69e924668effb96083b5f86.tar.xz nixos-950e06a621082d52d69e924668effb96083b5f86.zip |
Merge branch 'flakes-template' into flakes
-rw-r--r-- | system-profiles/core.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/system-profiles/core.nix b/system-profiles/core.nix index 158757d1..5b78c0fd 100644 --- a/system-profiles/core.nix +++ b/system-profiles/core.nix | |||
@@ -53,12 +53,11 @@ in { | |||
53 | "nixpkgs=${flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}.path}" | 53 | "nixpkgs=${flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}.path}" |
54 | "nixpkgs-overlays=${flake.overlays-path.${config.nixpkgs.system}}" | 54 | "nixpkgs-overlays=${flake.overlays-path.${config.nixpkgs.system}}" |
55 | ]; | 55 | ]; |
56 | registry = { | 56 | registry = |
57 | nixpkgs.flake = flakeInputs.nixpkgs; | 57 | let override = { self = "nixos"; }; |
58 | home-manager.flake = flakeInputs.home-manager; | 58 | in lib.mapAttrs' (inpName: inpFlake: lib.nameValuePair |
59 | sops-nix.flake = flakeInputs.sops-nix; | 59 | (override.${inpName} or inpName) |
60 | nixos.flake = flake; | 60 | { flake = inpFlake; } ) flakeInputs; |
61 | }; | ||
62 | }; | 61 | }; |
63 | 62 | ||
64 | users.mutableUsers = false; | 63 | users.mutableUsers = false; |