mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 01:11:54 -05:00
systemConfig: set autoUpgrades to 4AM
This commit is contained in:
parent
16aa3fcc2a
commit
14de7f41c4
|
@ -35,7 +35,7 @@
|
|||
};
|
||||
|
||||
services.logind.extraConfig = ''
|
||||
# don't shutdown when power button is short-pressed
|
||||
# Don't shutdown when power button is short-pressed
|
||||
HandlePowerKey=suspend
|
||||
HandlePowerKeyLongPress=poweroff
|
||||
'';
|
||||
|
@ -47,13 +47,13 @@
|
|||
|
||||
system.autoUpgrade = {
|
||||
allowReboot = true;
|
||||
dates = "daily";
|
||||
dates = "04:00";
|
||||
enable = true;
|
||||
flake = "github:alyraffauf/nixcfg";
|
||||
operation = "boot";
|
||||
rebootWindow = {
|
||||
lower = "02:00";
|
||||
upper = "05:00";
|
||||
upper = "06:00";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue