aboutsummaryrefslogtreecommitdiff
path: root/hosts/vps/configuration.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-06-16 12:03:39 +0200
committerschererleander <leander@schererleander.de>2025-06-16 12:03:39 +0200
commit73ee8fc7484db33a1d5762d32ac93c8ad3fe0375 (patch)
tree7ea115fcbebfa9fa3a818cd9ecb0c1cf3b7ec711 /hosts/vps/configuration.nix
parent024593f9a87f49de02decde17100374ff9567694 (diff)
set reboot window for autoupgrade
Diffstat (limited to 'hosts/vps/configuration.nix')
-rw-r--r--hosts/vps/configuration.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix
index b0841d4..b60f695 100644
--- a/hosts/vps/configuration.nix
+++ b/hosts/vps/configuration.nix
@@ -36,7 +36,15 @@
htop
];
- system.autoUpgrade.enable = true;
+ system.autoUpgrade = {
+ enable = true;
+ allowReboot = true;
+
+ rebootWindow = {
+ lower = "02:00";
+ upper = "05:00";
+ };
+ };
services.openssh = {
enable = true;