diff --git a/configuration.nix b/configuration.nix index 87878ef..3fc27d7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -44,6 +44,10 @@ randomizedDelaySec = "45min"; }; + # Automatic Garbage Collection + nix.gc.automatic = true; + nix.gc.options = "--delete-older-than 8d"; + # This option defines the first version of NixOS you have installed on this particular machine, # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. #