From 2bc490c12d60aaffc9cac974c5b326432154ad0b Mon Sep 17 00:00:00 2001 From: Chris Dombroski Date: Fri, 3 May 2024 14:44:49 -0400 Subject: [PATCH] Temporarily prevent reboots during hdd test --- modules/common/nix.nix | 2 +- systems/zeus/configuration.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/common/nix.nix b/modules/common/nix.nix index 0963114..84a16d4 100644 --- a/modules/common/nix.nix +++ b/modules/common/nix.nix @@ -23,7 +23,7 @@ system.autoUpgrade = { enable = true; flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git"; - allowReboot = true; + allowReboot = lib.mkDefault true; rebootWindow = { lower = "02:00"; upper = "06:00"; }; }; } diff --git a/systems/zeus/configuration.nix b/systems/zeus/configuration.nix index bb663af..e3c448c 100644 --- a/systems/zeus/configuration.nix +++ b/systems/zeus/configuration.nix @@ -261,6 +261,7 @@ services.zfs.zed.enableMail = false; system.stateVersion = "23.11"; # Did you read the comment? + system.autoUpgrade.allowReboot = false; zramSwap.enable = true; }