nh: use this to clean instead
This commit is contained in:
parent
595b997e3f
commit
00627f7945
1 changed files with 3 additions and 6 deletions
|
|
@ -29,6 +29,9 @@
|
|||
enable = true;
|
||||
package = inputs.nh-flake.packages.${pkgs.stdenv.hostPlatform.system}.nh;
|
||||
flake = "/home/${username}/projects/config";
|
||||
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 7d --keep 5";
|
||||
};
|
||||
|
||||
nix = {
|
||||
|
|
@ -77,12 +80,6 @@
|
|||
keep-outputs = true;
|
||||
keep-derivations = true;
|
||||
});
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue