nixos-config/2configs/mqtt.nix

14 lines
212 B
Nix
Raw Normal View History

2017-05-02 14:04:39 +02:00
{ ... }:
{
services.mosquitto = {
enable = true;
host = "0.0.0.0";
users = {};
2018-09-17 01:11:57 +02:00
# TODO: secure that shit
2019-05-08 13:53:48 +02:00
aclExtraConf = ''
2020-03-13 10:46:05 +01:00
pattern readwrite #
2019-05-08 13:53:48 +02:00
'';
2017-05-02 14:04:39 +02:00
allowAnonymous = true;
};
}