From 39117c4a8ace088d3230be0592aacbb70f3f3edc Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Thu, 28 Aug 2025 11:18:34 +0200 Subject: [PATCH] Change tg-ha-door vars generation script --- machines/aresix/modules/home-assistant/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/machines/aresix/modules/home-assistant/default.nix b/machines/aresix/modules/home-assistant/default.nix index 652825f..36ed26b 100644 --- a/machines/aresix/modules/home-assistant/default.nix +++ b/machines/aresix/modules/home-assistant/default.nix @@ -19,10 +19,10 @@ files.credentials-file.secret = true; script = '' - { - echo "TG_BOT_TOKEN=$(<$prompts/telegram-bot-token)" - echo "HA_AUTH_TOKEN=$(<$prompts/home-assistant-auth-token)" - } > $out/credentials-file + cat < $out/credentials-file + TG_BOT_TOKEN=$(<$prompts/telegram-bot-token) + HA_AUTH_TOKEN=$(<$prompts/home-assistant-auth-token) + EOL ''; };