nix: enabled nh garbage collection again

This commit is contained in:
vali 2024-08-13 11:48:37 +02:00
commit d9fb142549
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ in {
config = mkIf cfg.enable {
programs.nh = {
enable = true;
clean.enable = false;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/home/vali/projects/nichts";
};

View file

@ -22,7 +22,7 @@
# Collect garbage
gc = {
automatic = true;
automatic = false;
dates = "20:00";
options = "--delete-older-than 7d";
persistent = false; # don't try to catch up on missed GC runs