diff --git a/flake.lock b/flake.lock index 1099c8a..c3feb1b 100644 --- a/flake.lock +++ b/flake.lock @@ -158,11 +158,11 @@ "retiolum": { "flake": false, "locked": { - "lastModified": 1646955706, - "narHash": "sha256-2wtMIXrozeO7qigFlRHp/53aSZMwcErH5zi14iwZV00=", + "lastModified": 1647188627, + "narHash": "sha256-xot7F7bKWnJAhzSXwiDopas1b66/9WUIabRJWreYkSQ=", "owner": "krebs", "repo": "retiolum", - "rev": "e488402be7f60a478c95a4bad6d6e2c67f2b55f9", + "rev": "5858b524a77cff53f1fbe21e0af3189e52a9654d", "type": "github" }, "original": { diff --git a/systems/zaatar/home-assistant.nix b/systems/zaatar/home-assistant.nix index e8e0a51..efe9202 100644 --- a/systems/zaatar/home-assistant.nix +++ b/systems/zaatar/home-assistant.nix @@ -1,5 +1,13 @@ -{ - networking.firewall.allowedTCPPorts = [8123]; +let + port = 8123; +in { + networking.firewall.allowedTCPPorts = [port]; + + services.nginx.virtualHosts."home.kmein.r" = { + locations."/" = { + proxyPass = "http://127.0.0.1:${toString port}"; + }; + }; virtualisation.oci-containers = { backend = "podman";