diff --git a/nixosModules/system/default.nix b/nixosModules/system/default.nix index dfacece8..be4f8450 100644 --- a/nixosModules/system/default.nix +++ b/nixosModules/system/default.nix @@ -126,10 +126,10 @@ nix = { optimise.automatic = true; gc = { - # Delete generations older than 7 days. automatic = true; dates = "daily"; options = "--delete-older-than 3d"; + persistent = true; randomizedDelaySec = "60min"; }; # Run GC when there is less than 100MiB left.