1 import ./make-test-python.nix ({ lib, ... }: {
3 meta.maintainers = with lib.maintainers; [ vifino ];
5 nodes.machine = { pkgs, ... }: {
6 virtualisation.qemu.options = [
7 "-device i6300esb" # virtual watchdog timer
9 boot.kernelModules = [ "i6300esb" ];
10 services.watchdogd.enable = true;
11 services.watchdogd.settings = {
12 supervisor.enabled = true;
17 machine.wait_for_unit("watchdogd.service")
19 assert "i6300ESB" in machine.succeed("watchdogctl status")
20 machine.succeed("watchdogctl test")