don't add nixpkgs to nix registry to not conflict with nixpkgs

NixOS is already doing this for us.
This commit is contained in:
Jörg Thalheim
2025-03-22 14:45:20 +01:00
parent 6134eb0293
commit 4beb097a95

View File

@@ -96,12 +96,6 @@ let
networking.hostName = lib.mkDefault name; networking.hostName = lib.mkDefault name;
# speeds up nix commands by using the nixpkgs from the host system (especially useful in VMs)
nix.registry.nixpkgs.to = lib.mkDefault {
type = "path";
path = lib.mkDefault nixpkgs;
};
# For vars we need to override the system so we run vars # For vars we need to override the system so we run vars
# generators on the machine that runs `clan vars generate`. If a # generators on the machine that runs `clan vars generate`. If a
# users is using the `pkgsForSystem`, we don't set # users is using the `pkgsForSystem`, we don't set