global/nix: move NIX_PATH to nix.conf

This commit is contained in:
Infinidoge 2024-11-11 20:03:38 -05:00
parent b2f073f52e
commit 17116786bc
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -32,8 +32,10 @@ in
min-free = 536870912; # 0.5 gibi bytes
# Workaround for https://github.com/NixOS/nix/issues/9574
nix-path = config.nix.nixPath;
nix-path = [
"nixpkgs=${inputs.nixpkgs}"
"devshell=${inputs.devshell}"
];
};
gc = {
@ -59,11 +61,6 @@ in
};
};
nixPath = [
"nixpkgs=${inputs.nixpkgs}"
"devshell=${inputs.devshell}"
];
distributedBuilds = mkDefault true;
extraOptions = ''
builders-use-substitutes = true