From 8a7fc61a2dade5d1c09766dda535054d87aa2c2e Mon Sep 17 00:00:00 2001 From: Vivian 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 0ee6eb24..81d773c3 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 = {