fix(nix): move to non-deprecated settings location
This commit is contained in:
parent
49d4fda6f4
commit
63bab9576d
1 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue