1
0

hosts/osmium: Set custom garbage collector interval

This commit is contained in:
clerie 2022-09-29 17:44:05 +02:00
parent 75f612a857
commit ce10724700
2 changed files with 7 additions and 1 deletions

View File

@ -40,7 +40,7 @@
services.openssh.kbdInteractiveAuthentication = false; services.openssh.kbdInteractiveAuthentication = false;
services.openssh.permitRootLogin = lib.mkDefault "no"; services.openssh.permitRootLogin = lib.mkDefault "no";
nix.gc = { nix.gc = lib.mkDefault {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";

View File

@ -27,6 +27,12 @@
git git
]; ];
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 400d";
};
clerie.monitoring = { clerie.monitoring = {
enable = true; enable = true;
id = "201"; id = "201";