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 = ''
|
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue