From a0654b8f1dc08541e1f8cf00b66fd9a702055fcc Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 17 Mar 2023 22:07:24 +0100 Subject: [PATCH] mosquitto: enable service --- container/weewx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/container/weewx/default.nix b/container/weewx/default.nix index a316a34..9d76783 100644 --- a/container/weewx/default.nix +++ b/container/weewx/default.nix @@ -39,7 +39,7 @@ in gid = 421; }; - services.mosquitto.listeners = { + services.mosquitto.listeners = [{ weewx-private = { address = "0.0.0.0"; port = 1883; @@ -56,7 +56,7 @@ in }; }; }; - }; + }]; networking.firewall.interfaces."enp7s0".allowedTCPPorts = [ 1883 ]; networking.firewall.interfaces."tailscale0".allowedTCPPorts = [ 1883 ];