diff --git a/hosts/hydrogen/system/nix/default.nix b/hosts/hydrogen/system/nix/default.nix index 35914c0..c6756e5 100644 --- a/hosts/hydrogen/system/nix/default.nix +++ b/hosts/hydrogen/system/nix/default.nix @@ -6,12 +6,16 @@ }: { # optimizations nix.settings.auto-optimise-store = true; + nix.optimise = { + automatic = true; + dates = "daily"; + }; # garbage collection nix.gc = { automatic = true; - dates = "weekly"; - options = "--delete-older-than 30d"; + dates = "daily"; + options = "--delete-older-than 14d"; }; # experimental features diff --git a/hosts/neodymium/system/nix/default.nix b/hosts/neodymium/system/nix/default.nix index 266b91e..244ce6b 100644 --- a/hosts/neodymium/system/nix/default.nix +++ b/hosts/neodymium/system/nix/default.nix @@ -16,11 +16,15 @@ # optimizations nix.settings.auto-optimise-store = true; + nix.optimise = { + automatic = true; + dates = "daily"; + }; # garbage collection nix.gc = { automatic = true; - dates = "weekly"; + dates = "daily"; options = "--delete-older-than 30d"; };