From a09007778a0e294ce93e9d2c95212d19d589d4fb Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 7 Aug 2024 11:12:49 -0400 Subject: [PATCH] hosts: better rebootWindow + don't reboot on autoupgrade --- hosts/common/nix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/common/nix.nix b/hosts/common/nix.nix index 921e49d0..8c75522e 100644 --- a/hosts/common/nix.nix +++ b/hosts/common/nix.nix @@ -63,7 +63,7 @@ system.autoUpgrade = { enable = true; - allowReboot = true; + allowReboot = false; dates = "02:00"; flags = ["--accept-flake-config"]; flake = config.environment.variables.FLAKE; @@ -72,7 +72,7 @@ randomizedDelaySec = "30min"; rebootWindow = { - lower = "04:00"; + lower = "02:00"; upper = "06:00"; }; };