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"];
|
experimental-features = ["nix-command" "flakes"];
|
||||||
trusted-users = ["leyla"];
|
trusted-users = ["leyla"];
|
||||||
};
|
};
|
||||||
gc.automatic = true;
|
gc = {
|
||||||
optimise.automatic = true;
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 7d";
|
||||||
|
};
|
||||||
|
optimise = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
|
|
Loading…
Reference in a new issue