From bd556bcc1107750ea8f27d8241e22a25984b722c Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Thu, 20 Jul 2023 12:35:50 +0200 Subject: [PATCH] Reduce watchdog reboot time to 3 minutes Signed-off-by: Magic_RB --- nixos/systems/blowhole/watchdog.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/systems/blowhole/watchdog.nix b/nixos/systems/blowhole/watchdog.nix index 5123bbb..bb4a2fe 100644 --- a/nixos/systems/blowhole/watchdog.nix +++ b/nixos/systems/blowhole/watchdog.nix @@ -1,7 +1,7 @@ { ... }: { systemd.watchdog.runtimeTime = "60s"; - systemd.watchdog.rebootTime = "10m"; + systemd.watchdog.rebootTime = "3m"; systemd.watchdog.kexecTime = "5m"; systemd.services."emergency".serviceConfig.ExecStartPre = "/bin/sh -c \"read -t 30 || /run/current-system/sw/bin/systemctl reboot\""; }