This commit is contained in:
mjallen18
2026-03-30 16:09:25 -05:00
parent 8d8d49bd38
commit a88736cf6e
23 changed files with 273 additions and 58 deletions

View File

@@ -8,6 +8,7 @@
with lib;
let
cfg = config.${namespace}.services.home-assistant;
net = lib.${namespace}.network;
in
{
# disabledModules = [
@@ -348,16 +349,15 @@ in
http = {
use_x_forwarded_for = true;
trusted_proxies = [
"172.30.33.0/24"
"10.0.1.4"
"10.0.1.3"
"10.0.1.18"
"10.0.1.0/24"
net.subnet.docker
net.hosts.nuc.lan
net.hosts.nas.lan
net.subnet.lan
];
};
recorder = {
db_url = "postgresql://homeassistant@10.0.1.3/homeassistant";
db_url = "postgresql://homeassistant@${net.hosts.nas.lan}/homeassistant";
purge_keep_days = 180;
};