1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

transits: also post on mastodon

This commit is contained in:
2024-10-05 15:03:35 +02:00
parent 4774a0ec0f
commit 84fa3ee4b6
2 changed files with 9 additions and 1 deletions

View File

@@ -44,6 +44,10 @@ in {
niveum.bots.transits = {
enable = true;
time = "*:0/1";
mastodon = {
enable = true;
tokenFile = config.age.secrets.mastodon-token-transits.path;
};
telegram = {
enable = true;
tokenFile = config.age.secrets.telegram-token-kmein.path;
@@ -61,4 +65,8 @@ in {
) | ${toSymbols} | ${pkgs.coreutils}/bin/sort -n | ${pkgs.gnugrep}/bin/grep "^$now" || :
'');
};
age.secrets = {
mastodon-token-transits.file = ../../secrets/mastodon-token-transits.age;
};
}

Submodule secrets updated: c819d0180b...33524fab97