aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-10-21 15:48:46 +0200
committerKarel Kočí <cynerd@email.cz>2022-10-21 15:48:46 +0200
commitbc84b4506dd1f47f805eaa6628a784e3f83c731b (patch)
tree142518814487d33c1346d294d4f3e5397296f80a
parente60f961c1da0bf460d84a5f50c6218378104ec17 (diff)
downloadnixturris-bc84b4506dd1f47f805eaa6628a784e3f83c731b.tar.gz
nixturris-bc84b4506dd1f47f805eaa6628a784e3f83c731b.tar.bz2
nixturris-bc84b4506dd1f47f805eaa6628a784e3f83c731b.zip
nixos: disable watchdog for Mox
-rw-r--r--nixos/modules/turris-mox-support.nix7
1 files changed, 7 insertions, 0 deletions
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