stockholm/makefu/2configs/mqtt.nix
2019-05-08 13:53:48 +02:00

14 lines
213 B
Nix

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