systemConfig: set autoUpgrades to 4AM

This commit is contained in:
Aly Raffauf 2024-03-29 07:41:04 -04:00
parent 16aa3fcc2a
commit 14de7f41c4

View file

@ -35,7 +35,7 @@
}; };
services.logind.extraConfig = '' services.logind.extraConfig = ''
# don't shutdown when power button is short-pressed # Don't shutdown when power button is short-pressed
HandlePowerKey=suspend HandlePowerKey=suspend
HandlePowerKeyLongPress=poweroff HandlePowerKeyLongPress=poweroff
''; '';
@ -47,13 +47,13 @@
system.autoUpgrade = { system.autoUpgrade = {
allowReboot = true; allowReboot = true;
dates = "daily"; dates = "04:00";
enable = true; enable = true;
flake = "github:alyraffauf/nixcfg"; flake = "github:alyraffauf/nixcfg";
operation = "boot"; operation = "boot";
rebootWindow = { rebootWindow = {
lower = "02:00"; lower = "02:00";
upper = "05:00"; upper = "06:00";
}; };
}; };