Nix: simplify registry reference
This commit is contained in:
parent
c77f1c99d1
commit
8ea5c0b469
|
@ -59,8 +59,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure NixOS to use the same software channel as Flakes
|
# Configure NixOS to use the same software channel as Flakes
|
||||||
registry = lib.mapAttrs (_: value: { flake = value; }) inputs;
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||||
|
|
||||||
# Configure remote build machines
|
# Configure remote build machines
|
||||||
# To enable remote builds for a specific host, add `nix.distributedBuilds = true;` to its config
|
# To enable remote builds for a specific host, add `nix.distributedBuilds = true;` to its config
|
||||||
|
|
Loading…
Reference in a new issue