diff options
author | tv <tv@krebsco.de> | 2019-09-11 10:34:02 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-09-11 10:34:02 +0200 |
commit | 0182f1bd64973e93d4cf4c30b6005708b7e09240 (patch) | |
tree | f5a318fee1572b9b35f9f321d4ac707bc7935792 /krebs/2configs/shack/mqtt.nix | |
parent | e388d02623b98bad5db52b29ea1ef1f494fddae8 (diff) | |
parent | 5d24345ff430df38263c113041070a900c23131e (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'krebs/2configs/shack/mqtt.nix')
-rw-r--r-- | krebs/2configs/shack/mqtt.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/krebs/2configs/shack/mqtt.nix b/krebs/2configs/shack/mqtt.nix new file mode 100644 index 000000000..8e5438db2 --- /dev/null +++ b/krebs/2configs/shack/mqtt.nix @@ -0,0 +1,14 @@ +{ + networking.firewall.allowedTCPPorts = [ 1883 ]; + networking.firewall.allowedUDPPorts = [ 1883 ]; + services.mosquitto = { + enable = true; + host = "0.0.0.0"; + users = {}; + # TODO: secure that shit + aclExtraConf = '' + pattern readwrite # + ''; + allowAnonymous = true; + }; +} |