nix: use nh for gc

This commit is contained in:
notohh 2023-09-24 22:59:00 -04:00
parent 46d71647a4
commit 1eb18e847b
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -7,15 +7,14 @@ _: {
nh = {
enable = true;
clean.enable = true;
clean = {
enable = true;
dates = "weekly";
extraArgs = "--keep-since 3d --keep 5";
};
};
nix = {
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
settings = {
extra-experimental-features = ["flakes" "nix-command"];
warn-dirty = false;