From 26ec076727618f492f35d7ec0e14f95eab85f80c Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Thu, 30 Nov 2023 20:05:14 -0800 Subject: [PATCH] Fixed ACL --- modules/nixos/services/mosquitto/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/nixos/services/mosquitto/default.nix b/modules/nixos/services/mosquitto/default.nix index 8ef4232..7dd45a3 100644 --- a/modules/nixos/services/mosquitto/default.nix +++ b/modules/nixos/services/mosquitto/default.nix @@ -26,13 +26,16 @@ in { users = { hass = { acl = [ - "read home/#" - "readwrite homeassistant/status" + "readwrite home/#" + "readwrite homeassistant/#" ]; passwordFile = config.age.secrets.hass_mqtt.path; }; theengs_ble_gateway = { - acl = ["readwrite home/#"]; + acl = [ + "readwrite home/#" + "readwrite homeassistant/#" + ]; passwordFile = config.age.secrets.theengs_ble_mqtt.path; }; };