1
0
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:
2025-05-13 20:22:42 +02:00
parent 6ffb80322b
commit 8c838966f2
2 changed files with 3 additions and 2 deletions

Submodule secrets updated: 1f7aea07f7...c622f9bac9

View File

@@ -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"