nix: enable weekly garbage collection of generations older than 30d
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user