go to nh for auto
cleaning
This commit is contained in:
1 parent
8ac7fd4862
commit
fd79c661a1
2 files changed
+2
-5
No files matched your search
@@ -4,6 +4,8 @@
|
||||
# Cleanup stays on nix.gc (see system/nix.nix) to avoid two GC timers.
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||
flake = "/home/prouk/flake";
|
||||
};
|
||||
}
|
||||
@@ -20,11 +20,6 @@
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Housekeeping
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 14d";
|
||||
};
|
||||
nix.optimise.automatic = true;
|
||||
|
||||
# Run unpatched dynamic binaries.
|
||||
|
||||
Reference in new issue
Block a user