diff --git a/modules/utils/commons.nix b/modules/utils/commons.nix index 1c034d4..5b543ea 100644 --- a/modules/utils/commons.nix +++ b/modules/utils/commons.nix @@ -21,7 +21,7 @@ in gc = { enable = lib.mkOption { - default = false; + default = true; type = lib.types.bool; description = "Enable garbage collection"; }; @@ -49,7 +49,7 @@ in gc = lib.mkIf cfg.gc.enable { # Auto delete old generations automatic = true; - dates = "weekly"; + dates = "daily"; options = "--delete-older-than 2d"; }; };