Change tg-ha-door vars generation script

This commit is contained in:
Pedro Rey Anca 2025-08-28 11:18:34 +02:00
parent 9281d05fc2
commit 39117c4a8a
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A

View file

@ -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 <<EOL > $out/credentials-file
TG_BOT_TOKEN=$(<$prompts/telegram-bot-token)
HA_AUTH_TOKEN=$(<$prompts/home-assistant-auth-token)
EOL
'';
};