nixos-config/2configs/mqtt.nix
2020-03-13 10:46:05 +01:00

14 lines
212 B
Nix

{ ... }:
{
services.mosquitto = {
enable = true;
host = "0.0.0.0";
users = {};
# TODO: secure that shit
aclExtraConf = ''
pattern readwrite #
'';
allowAnonymous = true;
};
}