feat(talk): read API key from agenix file #24

Merged
m3tam3re merged 1 commits from feat/talk-agenix-key into master 2026-07-02 20:15:30 +02:00
1 Commits
Author SHA1 Message Date
m3ta-chiron e7765ee39f feat(talk): read API key from agenix file instead of env var
Primary: /run/agenix/elevenlabs-key (read via 'read -r' which strips
the trailing newline agenix files contain).
Fallback: ELEVENLABS_API_KEY env var (backwards compatible).

No need to export the key in shell environment anymore — if the
agenix secret exists, talk picks it up automatically.

Override path via ELEVENLABS_KEY_FILE env var if needed.
2026-07-02 20:14:45 +02:00