ctucx.git: nixfiles

ctucx' nixfiles

commit 139a85f7520f67a42db182702594c056498a6ebc
parent f27901e0374d379d125621a713160ddc41868976
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 23 Feb 2023 16:54:58 +0100

machines/lollo/smarthome/zigbee2mqtt: update udev-rule for new zigbee dongle
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/machines/lollo/smarthome/zigbee2mqtt.nix b/machines/lollo/smarthome/zigbee2mqtt.nix
@@ -17,6 +17,7 @@
 
   services = {
     udev.extraRules = ''
+      SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{serial}=="00_12_4B_00_25_9B_C1_FC", SYMLINK+="zigbee0"
       ATTR{idVendor}=="0451", ATTR{idProduct}=="16a8", ENV{ID_MM_DEVICE_IGNORE}="1"
       SUBSYSTEM=="tty", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="16a8", SYMLINK+="zigbee0"
     '';