1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

feat: allow homeassistant to see adguardhome

This commit is contained in:
oddlama 2025-01-26 03:10:22 +01:00
parent 3d37e2959f
commit 962532ea09
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
8 changed files with 49 additions and 2 deletions

View file

@ -8,7 +8,7 @@
}:
let
homeassistantDomain = "home.${globals.domains.personal}";
fritzboxDomain = "fritzbox.${globals.domains.me}";
fritzboxDomain = "fritzbox.${globals.domains.personal}";
in
{
wireguard.proxy-home.firewallRuleForNode.ward-web-proxy.allowedTCPPorts = [
@ -80,7 +80,8 @@ in
currency = "EUR";
time_zone = "Europe/Berlin";
unit_system = "metric";
#external_url = "https://";
external_url = "https://${homeassistantDomain}";
internal_url = "https://${homeassistantDomain}";
packages.manual = "!include manual.yaml";
};
@ -164,6 +165,10 @@ in
fritzboxDomain
];
networking.hosts.${nodes.ward-adguardhome.config.wireguard.proxy-home.ipv4} = [
"adguardhome.internal"
];
nodes.ward-web-proxy = {
services.nginx = {
upstreams."home-assistant" = {