fix(rpi4): add new mqtt users

This commit is contained in:
Felix Schröter 2020-10-22 19:17:19 +02:00
parent 92237b9269
commit a70e42900d
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -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";
};
};
};