fix
This commit is contained in:
@@ -239,31 +239,31 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable required hardware support for the Zigbee adapter
|
|
||||||
hardware.bluetooth.enable = true; # Some adapters use Bluetooth
|
|
||||||
|
|
||||||
# Ensure proper permissions for Zigbee USB devices
|
|
||||||
# services.udev.extraRules = ''
|
|
||||||
# # For CC2531, CC2530, CC1352P-2, CC2538 and similar adapters
|
|
||||||
# SUBSYSTEM=="tty", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="16a8", SYMLINK+="zigbee", MODE="0666"
|
|
||||||
# SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="zigbee", MODE="0666"
|
|
||||||
|
|
||||||
# # For ConBee/RaspBee by Dresden Elektronik
|
|
||||||
# SUBSYSTEM=="tty", ATTRS{idVendor}=="1cf1", ATTRS{idProduct}=="0030", SYMLINK+="zigbee", MODE="0666"
|
|
||||||
|
|
||||||
# # For Electrolama zig-a-zig-ah (zzh!)
|
|
||||||
# SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="zigbee", MODE="0666"
|
|
||||||
# '';
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
mosquitto # MQTT command-line tools
|
|
||||||
usbutils # For lsusb to help identify your adapter
|
|
||||||
];
|
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
|
||||||
mosquittoPort
|
|
||||||
zigbee2mqttPort
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable required hardware support for the Zigbee adapter
|
||||||
|
hardware.bluetooth.enable = true; # Some adapters use Bluetooth
|
||||||
|
|
||||||
|
# Ensure proper permissions for Zigbee USB devices
|
||||||
|
# services.udev.extraRules = ''
|
||||||
|
# # For CC2531, CC2530, CC1352P-2, CC2538 and similar adapters
|
||||||
|
# SUBSYSTEM=="tty", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="16a8", SYMLINK+="zigbee", MODE="0666"
|
||||||
|
# SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="zigbee", MODE="0666"
|
||||||
|
|
||||||
|
# # For ConBee/RaspBee by Dresden Elektronik
|
||||||
|
# SUBSYSTEM=="tty", ATTRS{idVendor}=="1cf1", ATTRS{idProduct}=="0030", SYMLINK+="zigbee", MODE="0666"
|
||||||
|
|
||||||
|
# # For Electrolama zig-a-zig-ah (zzh!)
|
||||||
|
# SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="zigbee", MODE="0666"
|
||||||
|
# '';
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
mosquitto # MQTT command-line tools
|
||||||
|
usbutils # For lsusb to help identify your adapter
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [
|
||||||
|
mosquittoPort
|
||||||
|
zigbee2mqttPort
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user