nix: use nh for gc
This commit is contained in:
parent
46d71647a4
commit
1eb18e847b
1 changed files with 5 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue