diff --git a/system/nix.nix b/system/nix.nix index 36fa247..70e7eb3 100644 --- a/system/nix.nix +++ b/system/nix.nix @@ -18,6 +18,10 @@ in nixpkgs.config.allowUnfree = true; + nix.optimise = { + automatic = true; + }; + nix.gc = { automatic = true; dates = "04:00"; @@ -26,7 +30,6 @@ in nix.settings = { trusted-users = [ "@wheel" ]; - auto-optimise-store = true; substituters = nixConfig.extra-substituters; trusted-public-keys = nixConfig.extra-trusted-public-keys; };