diff --git a/maintenance.nix b/maintenance.nix index 2a6ecfb..98a47b1 100644 --- a/maintenance.nix +++ b/maintenance.nix @@ -5,8 +5,12 @@ system.autoUpgrade.enable = true; system.autoUpgrade.allowReboot = true; # Enable Automatic Garbage Collection -nix.gc.automatic = true; - + nix.gc = { + automatic = true; + randomizedDelaySec = "14m"; + options = "-d"; + }; + # Use Links to save Disk Space nix.optimise.automatic = true; }