main #5

Merged
Lithospherical merged 59 commits from jan-leila/nix-config:main into main 2025-08-27 15:36:39 +00:00
Showing only changes of commit 92839b4603 - Show all commits

View file

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