aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/home-assistant.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-02-06 20:44:14 +0100
committerKarel Kočí <cynerd@email.cz>2023-02-06 20:44:14 +0100
commit8b96dd41971e008a6a2527fe10c6670d2248117e (patch)
treec7327ec26648e62279778696e38dc70415d16151 /nixos/modules/home-assistant.nix
parentadc6902502aa03509d138e9220843bf4d6a1a390 (diff)
downloadnixos-personal-8b96dd41971e008a6a2527fe10c6670d2248117e.tar.gz
nixos-personal-8b96dd41971e008a6a2527fe10c6670d2248117e.tar.bz2
nixos-personal-8b96dd41971e008a6a2527fe10c6670d2248117e.zip
Apply statix suggestions
Diffstat (limited to 'nixos/modules/home-assistant.nix')
-rw-r--r--nixos/modules/home-assistant.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/home-assistant.nix b/nixos/modules/home-assistant.nix
index bf98609..0aac9be 100644
--- a/nixos/modules/home-assistant.nix
+++ b/nixos/modules/home-assistant.nix
@@ -76,11 +76,11 @@ in {
consumer = data_type: topics: {
tags = {source = "bigclown";};
servers = ["tcp://localhost:1883"];
- topics = topics;
+ inherit topics;
username = "telegraf";
password = "$MQTT_PASSWORD";
data_format = "value";
- data_type = data_type;
+ inherit data_type;
topic_parsing = [
{
topic = "bigclown/node/+/+/+/+";