1
0
mirror of https://github.com/kmein/niveum synced 2026-03-28 23:31:07 +01:00

chore(catullus): split up telegram-bots

This commit is contained in:
Kierán Meinhardt
2020-04-09 16:57:24 +02:00
parent c6c621baf1
commit c5cec7d44c
7 changed files with 143 additions and 107 deletions

View File

@@ -0,0 +1,14 @@
{ pkgs, lib, ... }:
let
literature-quote = pkgs.callPackage <niveum/packages/scripts/literature-quote.nix> {};
in
{
niveum.telegramBots.quotebot = {
enable = true;
time = "08/6:00";
token = lib.strings.fileContents <secrets/telegram/kmein.token>;
chatIds = [ "18980945" "757821027" "455964311" ];
command = "${literature-quote}/bin/literature-quote";
parseMode = "Markdown";
};
}