fix(nix): move to non-deprecated settings location

This commit is contained in:
Infinidoge 2022-01-30 17:00:30 -05:00
parent 49d4fda6f4
commit 63bab9576d

View file

@ -4,20 +4,22 @@ with lib;
nix = {
package = pkgs.nixUnstable;
systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
settings = {
allowed-users = [ "@wheel" ];
autoOptimiseStore = true;
trusted-users = [ "root" "@wheel" ];
system-feature = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
auto-optimise-store = true;
sandbox = true;
};
gc.automatic = true;
optimise.automatic = true;
useSandbox = true;
allowedUsers = [ "@wheel" ];
trustedUsers = [ "root" "@wheel" ];
extraOptions = ''
min-free = 536870912
keep-outputs = true