[GC] Make GC persistent so it will run even if the system was down.

This commit is contained in:
2026-04-12 11:30:31 -07:00
parent d5f0798be1
commit e1b953dbcb

View File

@@ -1,8 +1,9 @@
{ ... }: { _: {
# Automatic # Automatic
nix.gc = { nix.gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
persistent = true;
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
} }