nix: collect garbage weekly
This commit is contained in:
parent
335e24f77d
commit
d09dee87ef
|
@ -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…
Reference in a new issue