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

fix(telegram-bots): move from toum to makanek

This commit is contained in:
2021-02-06 11:54:06 +01:00
parent 6ef578d644
commit 444336cd19
7 changed files with 2 additions and 5 deletions

View File

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