Perform weekly garbage collects.

This commit is contained in:
Tom Alexander 2025-06-01 11:21:57 -04:00
parent 996cb27a89
commit 0f2c595538
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -140,7 +140,9 @@
nix.gc = lib.mkIf (!config.me.buildingIso) {
# Runs nix-collect-garbage --delete-older-than 5d
automatic = true;
randomizedDelaySec = "14m";
persistent = true;
dates = "weekly";
# randomizedDelaySec = "14m";
options = "--delete-older-than 30d";
};
nix.settings.auto-optimise-store = !config.me.buildingIso;