From 53279a21895f439364fa7afd4d2389022f76e310 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 15 Mar 2024 09:20:18 -0400 Subject: [PATCH] system: added autoUpgrade.rebootWindow to prevent unexpected reboots --- system/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system/default.nix b/system/default.nix index 7bf2a20a..08ac278f 100644 --- a/system/default.nix +++ b/system/default.nix @@ -44,6 +44,10 @@ flake = "github:alyraffauf/nixcfg"; dates = "daily"; operation = "boot"; + rebootWindow = { + lower = "01:00"; + upper = "05:00"; + } }; # Delete generations older than 7 days.