nixos-config/nixos/machines/pepe/mqtt.nix

13 lines
205 B
Nix

{ lib, ... }: {
services.mosquitto = {
enable = true;
listeners = [{
acl = [ "pattern readwrite #" ];
omitPasswordAuth = true;
settings.allow_anonymous = true;
}];
};
}