garbage collection and upgrade stuff

This commit is contained in:
mc-fucker 2021-12-21 14:55:34 +01:00
parent 06c93b12f4
commit e0c105b806

View file

@ -40,7 +40,9 @@ in
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
allowReboot = true; #allowReboot = true;
dates = "04:00";
randomizedDelaySec = "30min";
}; };
services = { services = {
@ -71,6 +73,11 @@ in
(import ./vim.nix) (import ./vim.nix)
]; ];
nix.gc = {
automatic = true;
options = "--delete-older-than 2d";
};
imports = [ imports = [
./zabbix-agent.nix ./zabbix-agent.nix
]; ];