Systemd since v183 supports managing the hardware watchdog. It would be a good way to add watchdog support to vyos.
Example:
/etc/systemd/system.conf.d/enabled-watchdog.conf
[Manager] RuntimeWatchdogSec=15s ShutdownWatchdogSec=10mins
Ideally the RuntimeWatchdogSec should be configurable as some hardware watchdogs only support limited interval. eg: Broadcom BCM2835 Watchdog timer only supports <= 15s.
The ShutdownWatchdogSec default is 10mins which can be painfully long for the system to shutdown. My preference is to set it shorter (eg: 2mins) to allow forced unclean reset if system has issues shutting down or rebooting.
systemd watchdog documentation: https://0pointer.de/blog/projects/watchdog.html