1 import ./make-test-python.nix ({ pkgs, lib, ... }:
4 nodes.machine = { pkgs, ... }:
6 services.zigbee2mqtt = {
10 systemd.services.zigbee2mqtt.serviceConfig.DevicePolicy = lib.mkForce "auto";
14 machine.wait_for_unit("zigbee2mqtt.service")
15 machine.wait_until_fails("systemctl status zigbee2mqtt.service")
17 "journalctl -eu zigbee2mqtt | grep \"Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'\""
20 machine.log(machine.succeed("systemd-analyze security zigbee2mqtt.service"))