got hass app config closer to working

This commit is contained in:
Leyla Becker 2025-07-13 18:30:45 -05:00
parent 2188954b79
commit 92839b4603

View file

@ -74,6 +74,7 @@ in {
"unifi"
"openweathermap"
"ollama"
"mobile_app"
];
config = {
http = {
@ -83,6 +84,10 @@ in {
ip_ban_enabled = true;
login_attempts_threshold = 10;
};
homeassistant = {
external_url = "https://home.jan-leila.com";
internal_url = "http://192.168.1.2:8123";
};
recorder.db_url = "postgresql://@/${dbUser}";
"automation manual" = [];
"automation ui" = "!include automations.yaml";
@ -97,6 +102,10 @@ in {
# TODO: configure /var/lib/hass/secrets.yaml via sops
networking.firewall.allowedUDPPorts = [
1900
];
systemd.tmpfiles.rules = [
"f ${config.services.home-assistant.configDir}/automations.yaml 0755 hass hass"
];