From 5ebb95135ae677deb0f8abe1fc36b46b2f1defd9 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..37955d8 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"; }; }; }