mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
use emojis for i3status-rust remove overlays configure mail via home-manager adapt to 20.03 config options automatically symlink cloud directories into home
16 lines
427 B
Nix
16 lines
427 B
Nix
{ 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 <secrets/telegram/kmein.token>;
|
|
chatIds = [ "18980945" "757821027" "455964311" ];
|
|
command = "${literature-quote}/bin/literature-quote";
|
|
parseMode = "Markdown";
|
|
};
|
|
}
|