Home assistant

This commit is contained in:
Chris Dombroski 2024-08-28 21:52:43 -04:00
parent f18cd49b01
commit 22233d2a30

View file

@ -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-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 = {