feat: enable gc

This commit is contained in:
notohh 2023-03-01 01:57:26 -05:00
parent df147cf953
commit 347556ea09
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 12 additions and 0 deletions

View file

@ -84,6 +84,12 @@
experimental-features = nix-command flakes experimental-features = nix-command flakes
warn-dirty = false warn-dirty = false
''; '';
settings.auto-optimise-store = true;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
}; };
system.stateVersion = "23.05"; system.stateVersion = "23.05";

View file

@ -77,6 +77,12 @@
experimental-features = nix-command flakes experimental-features = nix-command flakes
warn-dirty = false warn-dirty = false
''; '';
settings.auto-optimise-store = true;
gc = {
automatic = true;
dates = "weekly";
options = "delete-older-than 7d";
};
}; };
system.stateVersion = "23.05"; system.stateVersion = "23.05";