diff --git a/hosts/mosquitto/configuration.nix b/hosts/mosquitto/configuration.nix index 4abab28..828b5d2 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 ];