diff --git a/configuration.nix b/configuration.nix index 365a957..7a38182 100644 --- a/configuration.nix +++ b/configuration.nix @@ -64,4 +64,8 @@ in { system.stateVersion = "18.09"; system.autoUpgrade.enable = true; + + nix.gc.automatic = true; + nix.gc.dates = "weekly"; + nix.gc.options = "--delete-older-than 30d"; }