From 9bd3b12c4a6d45581d97b7a2a5c19b41e46c2ce7 Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Wed, 3 May 2023 12:12:47 +0200 Subject: [PATCH] Increase watchdog times on blowhole Signed-off-by: Magic_RB --- nixos/systems/blowhole/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/systems/blowhole/default.nix b/nixos/systems/blowhole/default.nix index 7dfa36f..52069c0 100644 --- a/nixos/systems/blowhole/default.nix +++ b/nixos/systems/blowhole/default.nix @@ -60,9 +60,9 @@ }; systemd.watchdog.runtimeTime = "60s"; - systemd.watchdog.rebootTime = "120s"; - systemd.watchdog.kexecTime = "120s"; - systemd.services."emergency".serviceConfig.ExecStartPre = "/bin/sh -c \"read -t 30 || /bin/systemctl reboot\""; + systemd.watchdog.rebootTime = "10m"; + systemd.watchdog.kexecTime = "5m"; + systemd.services."emergency".serviceConfig.ExecStartPre = "/bin/sh -c \"read -t 30 || /run/current-system/sw/bin/systemctl reboot\""; services.nfs.server = { enable = true;