diff --git a/nix/system/common/nix.nix b/nix/system/common/nix.nix index 605ade6..ee0710c 100644 --- a/nix/system/common/nix.nix +++ b/nix/system/common/nix.nix @@ -7,20 +7,25 @@ nix = { settings = { experimental-features = "nix-command flakes"; - auto-optimise-store = true; max-jobs = "auto"; cores = 0; builders-use-substitutes = true; }; + optimise.automatic = true; + extraOptions = '' keep-going = true ''; gc = { automatic = true; - dates = "weekly"; + interval = { + Weekday = 0; + Hour = 0; + Minute = 0; + }; options = "--delete-older-than 7d"; }; };