From 605d9d6b5415007882a0911076bc732e6048a7be Mon Sep 17 00:00:00 2001 From: Victor Roest Date: Mon, 18 Oct 2021 21:09:55 +0200 Subject: [PATCH] topic readwrite # --- hosts/mosquitto/configuration.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/hosts/mosquitto/configuration.nix b/hosts/mosquitto/configuration.nix index 0ee6eb2..81d773c 100644 --- a/hosts/mosquitto/configuration.nix +++ b/hosts/mosquitto/configuration.nix @@ -26,18 +26,13 @@ environment.systemPackages = with pkgs; []; services.mosquitto = { - users = { - victor = { - acl = ["topic readwrite #"]; - }; - zigbee2mqtt = { - acl = ["topic readwrite #"]; - }; - }; + users = {}; enable = true; + port = 1883; host = "0.0.0.0"; allowAnonymous = true; + aclExtraConf = "topic readwrite #"; }; services.zigbee2mqtt = {