automatically collect garbage

This commit is contained in:
Khaïs COLIN 2024-07-21 18:40:17 +02:00
parent 9936de5766
commit 5fb84275bf

View file

@ -160,4 +160,11 @@
# flakes # flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# automatically collect garbage
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 60d";
};
} }