From fa97e16c8eef34f46bf881c3900235152cd3d780 Mon Sep 17 00:00:00 2001 From: cdombroski Date: Mon, 29 Apr 2024 20:43:12 -0400 Subject: [PATCH] Allow automatic reboots Only between 2 and 6 am --- modules/common/nix.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/common/nix.nix b/modules/common/nix.nix index 3ef169e..164bea8 100644 --- a/modules/common/nix.nix +++ b/modules/common/nix.nix @@ -15,5 +15,7 @@ system.autoUpgrade = { enable = true; flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git"; + allowReboot = true; + rebootWindow = { lower = "02:00"; upper = "06:00" }; }; }