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 = {