Default GC is on and daily

This commit is contained in:
pazpi 2025-08-20 23:42:56 +02:00
parent cf44a579a2
commit deb99c4598

View file

@ -21,7 +21,7 @@ in
gc = { gc = {
enable = lib.mkOption { enable = lib.mkOption {
default = false; default = true;
type = lib.types.bool; type = lib.types.bool;
description = "Enable garbage collection"; description = "Enable garbage collection";
}; };
@ -49,7 +49,7 @@ in
gc = lib.mkIf cfg.gc.enable { gc = lib.mkIf cfg.gc.enable {
# Auto delete old generations # Auto delete old generations
automatic = true; automatic = true;
dates = "weekly"; dates = "daily";
options = "--delete-older-than 2d"; options = "--delete-older-than 2d";
}; };
}; };