From 42872979030e16d7abfe843287ec0163be156dbb Mon Sep 17 00:00:00 2001 From: Vivian 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 c1ff6529..4abab28f 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 ]; }