added weekly timers to garbage collect and optimize
made garbage collector collect older then a week
This commit is contained in:
parent
bbb4be8ac8
commit
cfa0f64f70
|
@ -8,8 +8,15 @@
|
|||
experimental-features = ["nix-command" "flakes"];
|
||||
trusted-users = ["leyla"];
|
||||
};
|
||||
gc.automatic = true;
|
||||
optimise.automatic = true;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
optimise = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
};
|
||||
};
|
||||
|
||||
# Enable networking
|
||||
|
|
Loading…
Reference in a new issue