From 3284bc1f48ea1716a5a2d755b5fc8a427fdc5a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Mon, 3 Jun 2024 19:53:35 +0200 Subject: [PATCH] feat(home-server): allow reboot after upgrade --- hosts/home-server.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/home-server.nix b/hosts/home-server.nix index 5efe1d3..2944bb7 100644 --- a/hosts/home-server.nix +++ b/hosts/home-server.nix @@ -158,4 +158,10 @@ in # only change this when specified in release notes system.stateVersion = "23.05"; + + system.autoUpgrade.allowReboot = true; + system.autoUpgrade.rebootWindow = { + lower = "03:00"; + upper = "05:00"; + }; }