Home assistant
This commit is contained in:
parent
f18cd49b01
commit
b3727bb0a8
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";
|
||||
imageFile = pkgs.dockerTools.buildLayeredImage {
|
||||
name = "my-homeassistant";
|
||||
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