❄️ Nix configurations
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add zigbee2mqtt domain

A. Ottr 88d28452 a54dbf62

+17 -6
+17 -6
modules/nixos/server/home-assistant.nix
··· 20 20 networking.firewall.allowedTCPPorts = [ 8123 1883 8090 ]; 21 21 22 22 services.traefik.dynamicConfigOptions.http = { 23 - routers.hass = { 24 - entryPoints = ["websecure"]; 25 - service = "hass"; 26 - rule = "Host(`home.otter.place`)"; 27 - tls.certResolver = "letsencrypt"; 23 + routers = { 24 + hass = { 25 + entryPoints = ["websecure"]; 26 + service = "hass"; 27 + rule = "Host(`home.otter.place`)"; 28 + tls.certResolver = "letsencrypt"; 29 + }; 30 + zigbee = { 31 + entryPoints = [ "websecure" ]; 32 + rule = "Host(`zigbee.otter.place`)"; 33 + service = "zigbee"; 34 + tls.certResolver = "letsencrypt"; 35 + }; 36 + }; 37 + services = { 38 + hass.loadBalancer.servers = [{url = "http://localhost:8123";}]; 39 + zigbee.loadBalancer.servers = [{url = "http://localhost:8090";}]; 28 40 }; 29 - services.hass.loadBalancer.servers = [{url = "http://localhost:8123";}]; 30 41 }; 31 42 32 43 services.mosquitto = {