From a70e42900dbd85a313fc6997f21ed04da059ed00 Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Thu, 22 Oct 2020 19:17:19 +0200 Subject: [PATCH] fix(rpi4): add new mqtt users --- services/home-assistant.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/services/home-assistant.nix b/services/home-assistant.nix index ef9e7ce..a5f0dc5 100644 --- a/services/home-assistant.nix +++ b/services/home-assistant.nix @@ -61,6 +61,20 @@ in ]; hashedPasswordFile = "/etc/nixos/secrets/mqtt/owntracks"; }; + "felix" = { + acl = [ + "topic read owntracks/#" + "topic readwrite owntracks/felix/#" + ]; + hashedPasswordFile = "/etc/nixos/secrets/mqtt/felix"; + }; + "birgit" = { + acl = [ + "topic read owntracks/#" + "topic readwrite owntracks/birgit/#" + ]; + hashedPasswordFile = "/etc/nixos/secrets/mqtt/birgit"; + }; }; };