fixed mosquitto config
This commit is contained in:
parent
35a60ad122
commit
7fe56e78ea
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue