Added teslamate configuration

This commit is contained in:
Alejandro Angulo 2024-02-05 20:20:02 -08:00
parent 00319bf5ee
commit 478198d88e
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
13 changed files with 253 additions and 3 deletions

View file

@ -17,6 +17,7 @@ in {
age.secrets = {
hass_mqtt.file = ../../../../secrets/hass_mqtt.age;
theengs_ble_mqtt.file = ../../../../secrets/theengs_ble_mqtt.age;
teslamate_mqtt.file = ../../../../secrets/teslamate_mqtt.age;
};
services.mosquitto = {
@ -28,6 +29,7 @@ in {
acl = [
"readwrite home/#"
"readwrite homeassistant/#"
"read teslamate/#"
];
passwordFile = config.age.secrets.hass_mqtt.path;
};
@ -38,6 +40,10 @@ in {
];
passwordFile = config.age.secrets.theengs_ble_mqtt.path;
};
teslamate = {
acl = ["readwrite teslamate/#"];
passwordFile = config.age.secrets.teslamate_mqtt.path;
};
};
}
];