CrOS/modules/services/mqtt/default.nix
2025-09-16 11:18:37 -04:00

14 lines
256 B
Nix

{
services.mosquitto = {
enable = true;
listeners = [
{
acl = ["pattern readwrite #"];
omitPasswordAuth = true;
settings.allow_anonymous = true;
}
];
};
networking.firewall.allowedTCPPorts = [1883];
}