diff --git a/modules/devos/nix.nix b/modules/devos/nix.nix index 34544ff..2c5b191 100644 --- a/modules/devos/nix.nix +++ b/modules/devos/nix.nix @@ -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