mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
radio news: automatically post digest
This commit is contained in:
2
secrets
2
secrets
Submodule secrets updated: 1f7aea07f7...c622f9bac9
@@ -22,9 +22,10 @@ in {
|
||||
];
|
||||
startAt = "hourly";
|
||||
script = ''
|
||||
set -efu
|
||||
PATH=$PATH:${lib.makeBinPath [pkgs.w3m pkgs.gnused pkgs.curl pkgs.jq]}
|
||||
|
||||
export TOKEN="$(cat "$CREDENTIALS_DIRECTORY/gemini-api-key")"
|
||||
export GEMINI_API_KEY="$(cat "$CREDENTIALS_DIRECTORY/gemini-api-key")"
|
||||
|
||||
WIKI_URL="https://en.wikipedia.org/wiki/Portal:Current_events"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user