From 520f7441d93f7fabf7ef2f334a41414420384d4b Mon Sep 17 00:00:00 2001 From: matt1432 Date: Mon, 2 Sep 2024 23:24:04 -0400 Subject: [PATCH] fix(hass): expose esphome dashboard on tailnet --- devices/cluster/modules/caddy.nix | 1 + devices/homie/modules/home-assistant.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/devices/cluster/modules/caddy.nix b/devices/cluster/modules/caddy.nix index fdeea4b6..de9818d0 100644 --- a/devices/cluster/modules/caddy.nix +++ b/devices/cluster/modules/caddy.nix @@ -99,6 +99,7 @@ in { ]; subDomains = { + esphome.reverseProxy = "${homieIP}:6052"; pr-tracker.reverseProxy = "${serviviIP}:3000"; pcsd = { diff --git a/devices/homie/modules/home-assistant.nix b/devices/homie/modules/home-assistant.nix index 329b6ed4..68f5f112 100644 --- a/devices/homie/modules/home-assistant.nix +++ b/devices/homie/modules/home-assistant.nix @@ -50,7 +50,7 @@ esphome = { enable = true; - address = "localhost"; + address = "100.64.0.10"; port = 6052; };