From da80baa204935aaa5ebc5ab635a7850063f30670 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 31 Dec 2022 02:44:41 +0100 Subject: [PATCH] config: disable systemd emergency mode --- config/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/config/default.nix b/config/default.nix index c48b61d6..b56ee81d 100644 --- a/config/default.nix +++ b/config/default.nix @@ -125,10 +125,15 @@ lib.mkMerge [ }; }; - # Reboot on hang - systemd.watchdog = lib.mkIf (!config.boot.isContainer) { - runtimeTime = "15s"; - rebootTime = "15s"; + systemd = { + # Do not break the boot + enableEmergencyMode = false; + + # Reboot on hang + watchdog = lib.mkIf (!config.boot.isContainer) { + runtimeTime = "15s"; + rebootTime = "15s"; + }; }; time.timeZone = lib.mkDefault "Europe/Berlin";