hass config update

This commit is contained in:
2026-01-26 17:39:43 -06:00
parent d9338b280e
commit 89328fe7e7
2 changed files with 9 additions and 0 deletions

View File

@@ -9,3 +9,9 @@ frontend:
automation: !include automations.yaml automation: !include automations.yaml
script: !include scripts.yaml script: !include scripts.yaml
scene: !include scenes.yaml scene: !include scenes.yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.101.1
- 192.168.100.11

View File

@@ -20,6 +20,8 @@ in {
allowedTCPPorts = [ hostPort ]; allowedTCPPorts = [ hostPort ];
}; };
}; };
environment.etc."home-assistant/configuration.yaml".source = ./configuration.yaml;
virtualisation.oci-containers.containers.home-assistant = { virtualisation.oci-containers.containers.home-assistant = {
image = "ghcr.io/home-assistant/home-assistant:stable"; image = "ghcr.io/home-assistant/home-assistant:stable";
@@ -56,6 +58,7 @@ in {
volumes = [ volumes = [
"vol_home-assistant:/config/" "vol_home-assistant:/config/"
"/etc/home-assistant/configuration.yaml:/config/configuration.yaml"
]; ];
}; };
}; };