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 ''; };