mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 01:33:55 -05:00
nix: optimise gc persistently
This commit is contained in:
parent
5de752533a
commit
7432c000e1
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue