nix: collect garbage weekly
This commit is contained in:
parent
335e24f77d
commit
d09dee87ef
1 changed files with 7 additions and 0 deletions
|
|
@ -4,6 +4,13 @@
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixStable;
|
package = pkgs.nixStable;
|
||||||
|
|
||||||
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 60d";
|
||||||
|
persistent = true;
|
||||||
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = ["nix-command" "flakes"];
|
||||||
trusted-users = ["@wheel"];
|
trusted-users = ["@wheel"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue