nix: optimise gc persistently

This commit is contained in:
Aly Raffauf 2024-05-25 14:33:45 -04:00
parent 5de752533a
commit 7432c000e1

View file

@ -126,10 +126,10 @@
nix = {
optimise.automatic = true;
gc = {
# Delete generations older than 7 days.
automatic = true;
dates = "daily";
options = "--delete-older-than 3d";
persistent = true;
randomizedDelaySec = "60min";
};
# Run GC when there is less than 100MiB left.