nix: enabled nh garbage collection again
This commit is contained in:
parent
95d26adf2e
commit
9123dacc1b
2 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue