autoupdate: delete generations older than 21 days to not fill up the disks

This commit is contained in:
Sandro - 2022-06-12 16:24:57 +02:00
parent 53fce8e2c7
commit c042dd5c03
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@
nix.gc = lib.mkIf config.c3d2.autoUpdate {
automatic = true;
randomizedDelaySec = "6h";
options = "--delete-older-than 21d"
};
# Always show a diff when activating a new system