Change tg-ha-door vars generation script
This commit is contained in:
parent
9281d05fc2
commit
39117c4a8a
1 changed files with 4 additions and 4 deletions
|
@ -19,10 +19,10 @@
|
||||||
|
|
||||||
files.credentials-file.secret = true;
|
files.credentials-file.secret = true;
|
||||||
script = ''
|
script = ''
|
||||||
{
|
cat <<EOL > $out/credentials-file
|
||||||
echo "TG_BOT_TOKEN=$(<$prompts/telegram-bot-token)"
|
TG_BOT_TOKEN=$(<$prompts/telegram-bot-token)
|
||||||
echo "HA_AUTH_TOKEN=$(<$prompts/home-assistant-auth-token)"
|
HA_AUTH_TOKEN=$(<$prompts/home-assistant-auth-token)
|
||||||
} > $out/credentials-file
|
EOL
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue