summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-07-08 01:16:24 +0200
committerMel <mel@rnrd.eu>2025-07-08 01:16:38 +0200
commitaf3cb667b3d87c8b30660fe35680074d25398a8f (patch)
treee4f8ce60508763622c78d5dddc5a24a33b160326 /services
parentd8daf09dbaec2610ce80986265b998271725d680 (diff)
downloadnetwork-af3cb667b3d87c8b30660fe35680074d25398a8f.tar.zst
network-af3cb667b3d87c8b30660fe35680074d25398a8f.zip
Allow HA container to access Matter & Zigbee device
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'services')
-rw-r--r--services/home-assistant.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/home-assistant.nix b/services/home-assistant.nix
index cf594b0..db49388 100644
--- a/services/home-assistant.nix
+++ b/services/home-assistant.nix
@@ -22,6 +22,9 @@ in
       # give home-assistant control over the device network
       # stack to auto-discover devices on the network.
       customNetwork = "host";
+      # allow home-assistant to access zigbee/matter+thread
+      # dongle.
+      devices = [ "/dev/serial/by-id/usb-SMLIGHT_SMLIGHT_SLZB-07_6e29216e5272ef119d2f43848fcc3fa0-if00-port0" ];
       volumes = [
         [
           "/etc/localtime"