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:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user