--wip-- [skip ci]

This commit is contained in:
Filippo Berto 2025-01-19 18:51:52 +01:00
parent a7b7632400
commit 34b8582144

View file

@ -74,12 +74,24 @@ in
services = {
mosquitto = {
enable = true;
# listeners = [{
# address = "127.0.0.1";
# port = 1883;
# users.zigbee2mqtt = {
# acl = [ "pattern readwrite #" ];
# omitPasswordAuth = true;
# };
# }];
listeners = [{
address = "127.0.0.1";
port = 1883;
users.zigbee2mqtt = {
acl = [ "pattern readwrite #" ];
omitPasswordAuth = true;
users.iotdevice = {
acl = [
"read IoT/device/action"
"write IoT/device/observations"
"write IoT/device/LW"
];
password = "mysweetpassword-or-use-hashedPassword";
};
}];
};