From 2a7ed507edd865ef0779edd7b70aba4dc8f2aee3 Mon Sep 17 00:00:00 2001 From: Vivian Roest Date: Mon, 18 Oct 2021 19:23:34 +0200 Subject: [PATCH] fixed mosquitto config --- hosts/mosquitto/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/mosquitto/configuration.nix b/hosts/mosquitto/configuration.nix index 4abab28f..828b5d2d 100644 --- a/hosts/mosquitto/configuration.nix +++ b/hosts/mosquitto/configuration.nix @@ -26,8 +26,15 @@ environment.systemPackages = with pkgs; []; services.mosquitto = { + users = { + victor = { + acl = ["topic readwrite #"]; + }; + }; enable = true; port = 1883; + host = "0.0.0.0"; + allowAnonymous = true; }; networking.firewall.allowedTCPPorts = [ config.services.mosquitto.port ];