nix: enabled nh garbage collection again

This commit is contained in:
Charlie Root 2024-08-13 11:48:37 +02:00
commit 9123dacc1b
2 changed files with 2 additions and 2 deletions

View file

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

View file

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