stockholm/makefu/2configs/mqtt.nix

14 lines
212 B
Nix
Raw Normal View History

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