diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-06 17:01:56 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-06 17:01:56 +0200 |
commit | 81f351c4feb807797f1bd5b671936a52f40eb2c4 (patch) | |
tree | ad98e5bdc82b9e43005fda4f071b0dfab22112bc | |
parent | 3e5346ccfd542e9abb928a7eca2e831b9c30df2e (diff) | |
download | nixos-81f351c4feb807797f1bd5b671936a52f40eb2c4.tar nixos-81f351c4feb807797f1bd5b671936a52f40eb2c4.tar.gz nixos-81f351c4feb807797f1bd5b671936a52f40eb2c4.tar.bz2 nixos-81f351c4feb807797f1bd5b671936a52f40eb2c4.tar.xz nixos-81f351c4feb807797f1bd5b671936a52f40eb2c4.zip |
auto-generate flake registry
-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 49869e60..c31ba0c4 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; |