nix: enable weekly garbage collection of generations older than 30d

This commit is contained in:
2026-03-22 01:55:05 -04:00
parent 7e1b478aec
commit f65c1dd5c3

View File

@@ -70,6 +70,13 @@
# optimize the store # optimize the store
optimise.automatic = true; optimise.automatic = true;
# auto garbage collect old generations
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
# enable flakes! # enable flakes!
settings.experimental-features = [ settings.experimental-features = [
"nix-command" "nix-command"