Automatic garbage collection

This commit is contained in:
Leonardo Eugênio 2022-11-26 01:01:12 -03:00
parent 8465b75537
commit 33ccac86fb

View file

@ -137,6 +137,11 @@
nix.registry.nixpkgs.flake = inputs.nixpkgs;
nix = {
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 3d";
};
settings = {
auto-optimise-store = true;
substituters = [