Many changes over time

This commit is contained in:
2022-04-08 14:21:56 -07:00
parent 2954dfc1b2
commit e9e61e24d4
14 changed files with 929 additions and 298 deletions
+4 -6
View File
@@ -92,8 +92,7 @@ in {
virtualHosts."home.sea.fudo.org" = {
locations."/" = {
proxyPass =
"http://localhost:${toString home-assistant-port}";
proxyPass = "http://localhost:${toString home-assistant-port}";
proxyWebsockets = true;
};
};
@@ -113,10 +112,9 @@ in {
image = "homeassistant/home-assistant:stable";
autoStart = true;
environment.TZ = config.time.timeZone;
ports = [ "${toString home-assistant-port}:8123" ];
volumes = [
"/state/services/home-assistant:/config"
];
# ports = [ "${toString home-assistant-port}:8123" ];
volumes = [ "/state/services/home-assistant:/config" ];
extraOptions = [ "--network=host" "--device=/dev/ttyACM0" ];
};
# shinobi = {