summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/mqtt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/2configs/shack/mqtt.nix')
-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;
};