nix: enable weekly garbage collection of generations older than 30d
This commit is contained in:
@@ -70,6 +70,13 @@
|
||||
# optimize the store
|
||||
optimise.automatic = true;
|
||||
|
||||
# auto garbage collect old generations
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
# enable flakes!
|
||||
settings.experimental-features = [
|
||||
"nix-command"
|
||||
|
||||
Reference in New Issue
Block a user