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:
parent
a970821855
commit
9d0220fb55
1 changed files with 6 additions and 1 deletions
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue