diff --git a/configs/pepe/home-assistant.nix b/configs/pepe/home-assistant.nix index 3b5f102..449dd30 100644 --- a/configs/pepe/home-assistant.nix +++ b/configs/pepe/home-assistant.nix @@ -210,4 +210,21 @@ in { }; + # host nginx setup + services.nginx = { + enable = true; + recommendedProxySettings = true; + virtualHosts = { + "iot.pepe.private" = { + serverAliases = [ + "hass.pepe.private" + "home.pepe.private" + ]; + locations."/" = { + proxyPass = "http://pepe.private:8123"; + }; + }; + }; + }; + }