From bc84b4506dd1f47f805eaa6628a784e3f83c731b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 21 Oct 2022 15:48:46 +0200 Subject: nixos: disable watchdog for Mox --- nixos/modules/turris-mox-support.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/modules/turris-mox-support.nix b/nixos/modules/turris-mox-support.nix index c3fd508..b12f511 100644 --- a/nixos/modules/turris-mox-support.nix +++ b/nixos/modules/turris-mox-support.nix @@ -17,6 +17,13 @@ with lib; "moxtet" "gpio-moxtet" "turris-mox-rwtm" ]; + # Systemd seems to not handling hardware watchdog for some reason + systemd.services."nowatchdog" = { + script = "echo V >/dev/watchdog0"; + wantedBy = [ "multi-user.target" ]; + }; + + # The additional administration packages environment.systemPackages = with pkgs; [ mox-otp -- cgit v1.2.3