summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-07-17 10:55:36 +0200
committermakefu <github@syntax-fehler.de>2019-07-17 10:55:36 +0200
commit8e0c6fc8c5a4d76f6485ee317dc91d5cfffe70f6 (patch)
treedcad8f1286f7f0825c3dbe0c5b63caca179758bc /krebs/2configs/shack
parent828d2fd14ac2e1545088a734f918cf85071d0116 (diff)
shack/mqtt: update permissions
Diffstat (limited to 'krebs/2configs/shack')
-rw-r--r--krebs/2configs/shack/mqtt.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/krebs/2configs/shack/mqtt.nix b/krebs/2configs/shack/mqtt.nix
index 5e7a1af7c..8e5438db2 100644
--- a/krebs/2configs/shack/mqtt.nix
+++ b/krebs/2configs/shack/mqtt.nix
@@ -1,13 +1,13 @@
{
- network.firewall.allowedTCPPorts = [ 1883 ];
- network.firewall.allowedUDPPorts = [ 1883 ];
+ 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 /#
+ pattern readwrite #
'';
allowAnonymous = true;
};