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

30 lines
693 B
Nix
Raw Normal View History

2022-03-10 21:52:12 +01:00
{
config,
2025-12-04 16:19:02 +01:00
inputs,
2022-03-10 21:52:12 +01:00
...
2025-12-27 22:22:54 +01:00
}:
let
2025-12-04 16:19:02 +01:00
autorenkalender = inputs.autorenkalender.packages.x86_64-linux.default;
2025-12-27 22:22:54 +01:00
in
{
2024-10-05 14:42:44 +02:00
niveum.bots.autorenkalender = {
enable = true;
time = "07:00";
2024-10-05 14:42:44 +02:00
telegram = {
enable = true;
tokenFile = config.age.secrets.telegram-token-kmein.path;
2025-12-27 22:22:54 +01:00
chatIds = [ "@autorenkalender" ];
2024-10-05 14:42:44 +02:00
parseMode = "Markdown";
};
command = "${autorenkalender}/bin/autorenkalender";
};
2022-05-22 11:47:59 +02:00
niveum.passport.services = [
{
title = "Autorenkalender";
description = "sends <a href=\"https://www.projekt-gutenberg.org/\">Projekt Gutenberg</a>'s anniversary information to Telegram.";
link = "https://t.me/Autorenkalender";
}
];
}