From 73ee8fc7484db33a1d5762d32ac93c8ad3fe0375 Mon Sep 17 00:00:00 2001 From: schererleander Date: Mon, 16 Jun 2025 12:03:39 +0200 Subject: set reboot window for autoupgrade --- hosts/vps/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'hosts') 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; -- cgit v1.3.1