nixos/home-assistant: allow serial access for usb discovery and zwave_js

via https://www.home-assistant.io/blog/2021/09/01/release-20219/#usb-discovery
and https://www.home-assistant.io/integrations/usb/
This commit is contained in:
Martin Weinelt 2021-09-15 18:18:49 +02:00
parent 5de4afa614
commit cf75539971

View file

@ -310,11 +310,13 @@ in {
"serial_pm" "serial_pm"
"sms" "sms"
"upb" "upb"
"usb"
"velbus" "velbus"
"w800rf32" "w800rf32"
"xbee" "xbee"
"zha" "zha"
"zwave" "zwave"
"zwave_js"
]; ];
in { in {
ExecStart = "${package}/bin/hass --runner --config '${cfg.configDir}'"; ExecStart = "${package}/bin/hass --runner --config '${cfg.configDir}'";