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.registry.nixpkgs.flake = inputs.nixpkgs;
nix = { nix = {
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 3d";
};
settings = { settings = {
auto-optimise-store = true; auto-optimise-store = true;
substituters = [ substituters = [