178 current 2025-10-09 16:19:44 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-09 19:44:05 -05:00
parent ac4f2dad23
commit 8b787309fe

View File

@@ -55,17 +55,16 @@ in
}; };
# enable the ${service} service # enable the ${service} service
services.${service} = { services.mosquitto.enable = true;
enable = true; services.mosquitto.listeners = [
listeners = [
{ {
acl = [ "pattern readwrite #" ]; # Allows read/write access to all topics port = 1883;
omitPasswordAuth = true; # Disables password authentication bindAddress = "0.0.0.0";
allow_anonymous = true; # Allows anonymous connections allow_anonymous = true;
aclFile = null; # optional
passwordFile = null; # optional
} }
]; ];
};
# override umask to make permissions work out # override umask to make permissions work out
systemd.services.${service}.serviceConfig = { systemd.services.${service}.serviceConfig = {
UMask = lib.mkForce "0007"; UMask = lib.mkForce "0007";