From 35a60ad122665c55916a90667254c52165c73cf7 Mon Sep 17 00:00:00 2001 From: Victor Roest Date: Mon, 18 Oct 2021 18:58:24 +0200 Subject: [PATCH] enable mosquitto --- hosts/mosquitto/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/mosquitto/configuration.nix b/hosts/mosquitto/configuration.nix index c1ff652..4abab28 100644 --- a/hosts/mosquitto/configuration.nix +++ b/hosts/mosquitto/configuration.nix @@ -24,4 +24,11 @@ # Additional packages environment.systemPackages = with pkgs; []; + + services.mosquitto = { + enable = true; + port = 1883; + }; + + networking.firewall.allowedTCPPorts = [ config.services.mosquitto.port ]; }