l hass: use new mosquitto config
This commit is contained in:
parent
0594a70fea
commit
93fb28ac98
|
@ -119,13 +119,10 @@ in {
|
||||||
|
|
||||||
services.mosquitto = {
|
services.mosquitto = {
|
||||||
enable = true;
|
enable = true;
|
||||||
host = "0.0.0.0";
|
listeners = [{
|
||||||
allowAnonymous = false;
|
acl = [ "topic pattern readwrite #" ];
|
||||||
checkPasswords = true;
|
users.gg23 = { acl = [ "topic readwrite #" ]; password = "gg23-mqtt"; };
|
||||||
users.gg23 = {
|
}];
|
||||||
password = "gg23-mqtt";
|
|
||||||
acl = [ "topic readwrite #" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.mosquitto ];
|
environment.systemPackages = [ pkgs.mosquitto ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user