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