Home assistant
This commit is contained in:
parent
f18cd49b01
commit
377f459179
1 changed files with 12 additions and 3 deletions
|
@ -172,10 +172,19 @@
|
|||
extraOptions = [ "--network=www" "--device=/dev/ttyACM0:/dev/zwave" ];
|
||||
};
|
||||
homeassistant = {
|
||||
image = "lscr.io/linuxserver/homeassistant:latest";
|
||||
volumes = [ "homeassistant-config:/config" ];
|
||||
image = "my-homeassistant:latest";
|
||||
iamgeFile = pkgs.dockerTools.buildLayeredImage {
|
||||
name = "my-zwave-js-ui";
|
||||
tag = "latest";
|
||||
config.Cmd = [ "${pkgs.home-assistant}/bin/hass" ];
|
||||
};
|
||||
volumes = [ "homeassistant-config:/var/lib/hass" ];
|
||||
environment.TZ = "America/New_York";
|
||||
labels.swag = "enable";
|
||||
labels = {
|
||||
swag = "enable";
|
||||
swag_url = "homeassistant.icanttype.org";
|
||||
swag_port = "8123";
|
||||
};
|
||||
extraOptions = [ "--pull=newer" "--network=www" "--network=lan" ];
|
||||
};
|
||||
postgres = {
|
||||
|
|
Loading…
Reference in a new issue