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 = { nh = {
enable = true; enable = true;
clean.enable = true; clean = {
enable = true;
dates = "weekly";
extraArgs = "--keep-since 3d --keep 5";
};
}; };
nix = { nix = {
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
settings = { settings = {
extra-experimental-features = ["flakes" "nix-command"]; extra-experimental-features = ["flakes" "nix-command"];
warn-dirty = false; warn-dirty = false;