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 = {
|
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;
|
||||||
|
|
Loading…
Reference in a new issue