nixos-config/nixos/machines/pepe/mqtt.nix
2023-01-15 21:39:16 +01:00

12 lines
205 B
Nix

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