diff options
author | Karel Kočí <cynerd@email.cz> | 2022-10-21 15:48:46 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-10-21 15:48:46 +0200 |
commit | bc84b4506dd1f47f805eaa6628a784e3f83c731b (patch) | |
tree | 142518814487d33c1346d294d4f3e5397296f80a /nixos/modules | |
parent | e60f961c1da0bf460d84a5f50c6218378104ec17 (diff) | |
download | nixturris-bc84b4506dd1f47f805eaa6628a784e3f83c731b.tar.gz nixturris-bc84b4506dd1f47f805eaa6628a784e3f83c731b.tar.bz2 nixturris-bc84b4506dd1f47f805eaa6628a784e3f83c731b.zip |
nixos: disable watchdog for Mox
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/turris-mox-support.nix | 7 |
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 |