garbage collection and upgrade stuff
This commit is contained in:
parent
06c93b12f4
commit
e0c105b806
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue