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 = {
|
nix = {
|
||||||
package = pkgs.nixUnstable;
|
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;
|
gc.automatic = true;
|
||||||
|
|
||||||
optimise.automatic = true;
|
optimise.automatic = true;
|
||||||
|
|
||||||
useSandbox = true;
|
|
||||||
|
|
||||||
allowedUsers = [ "@wheel" ];
|
|
||||||
|
|
||||||
trustedUsers = [ "root" "@wheel" ];
|
|
||||||
|
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
min-free = 536870912
|
min-free = 536870912
|
||||||
keep-outputs = true
|
keep-outputs = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue