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

15 lines
256 B
Nix
Raw Normal View History

2023-01-15 10:43:10 +01:00
{ lib, ... }: {
services.mosquitto = {
enable = true;
listeners = [{
acl = [ "pattern readwrite #" ];
omitPasswordAuth = true;
settings.allow_anonymous = true;
}];
};
2023-01-31 09:50:46 +01:00
networking.firewall.allowedTCPPorts = [ 1883 ];
2023-01-15 10:43:10 +01:00
}