forked from c3d2/nix-config
autoupdate: delete generations older than 21 days to not fill up the disks
This commit is contained in:
parent
53fce8e2c7
commit
c042dd5c03
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue