1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/servnerr-4: hass SkyConnect

This commit is contained in:
Matt Layher 2023-09-14 15:02:49 -04:00
parent a970821855
commit 9d0220fb55

View file

@ -37,7 +37,12 @@
containers = {
home-assistant = {
image = "ghcr.io/home-assistant/home-assistant:stable";
extraOptions = [ "--network=host" ];
extraOptions = [
# Expose on the host.
"--network=host"
# Pass in Home Assistant SkyConnect device.
"--device=/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_4c34810ea196ed11a365c698a7669f5d-if00-port0"
];
ports = [ "8123:8123" ];
volumes =
[ "/etc/localtime:/etc/localtime:ro" "/var/lib/hass:/config" ];