diff options
author | lassulus <lassulus@lassul.us> | 2021-12-01 17:52:23 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-12-01 18:10:03 +0100 |
commit | 93fb28ac98fb301779c0ab1cd4ef54476faa9879 (patch) | |
tree | 772de42e384630acd98aed8dc075c200154290c9 /lass/2configs | |
parent | 0594a70fea841be9ce48575386f7e4579dbf1563 (diff) |
l hass: use new mosquitto config
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/hass/default.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lass/2configs/hass/default.nix b/lass/2configs/hass/default.nix index be9c32809..b303df938 100644 --- a/lass/2configs/hass/default.nix +++ b/lass/2configs/hass/default.nix @@ -119,13 +119,10 @@ in { services.mosquitto = { enable = true; - host = "0.0.0.0"; - allowAnonymous = false; - checkPasswords = true; - users.gg23 = { - password = "gg23-mqtt"; - acl = [ "topic readwrite #" ]; - }; + listeners = [{ + acl = [ "topic pattern readwrite #" ]; + users.gg23 = { acl = [ "topic readwrite #" ]; password = "gg23-mqtt"; }; + }]; }; environment.systemPackages = [ pkgs.mosquitto ]; |