mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(zaatar): convert to flake feat(tahina, tabula): convert to flake feat(makanek): convert to flake feat(manakish, zaatar): convert to flake feat(ci): build flake systems fix: ci build feat: secrets via submodule foo foo foo
26 lines
634 B
Nix
26 lines
634 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
scripts = import ../../packages/scripts {inherit config pkgs lib;};
|
|
inherit (scripts) literature-quote;
|
|
in {
|
|
niveum.telegramBots.quotebot = {
|
|
enable = true;
|
|
time = "08/6:00";
|
|
tokenFile = config.age.secrets.telegram-token-kmein.path;
|
|
chatIds = ["-1001760262519"];
|
|
command = "${literature-quote}/bin/literature-quote";
|
|
parseMode = "Markdown";
|
|
};
|
|
|
|
niveum.passport.services = [
|
|
{
|
|
title = "Literature quote bot";
|
|
description = "sends me and my friends three <a href=\"https://logotheca.xn--kiern-0qa.de/\">logotheca</a> quotes a day.";
|
|
}
|
|
];
|
|
}
|