fixed mosquitto config

This commit is contained in:
Vivian 2021-10-18 19:23:34 +02:00
parent 35a60ad122
commit 7fe56e78ea

View file

@ -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 ];