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

feat: nachtischsatan-bot

This commit is contained in:
Kierán Meinhardt
2020-01-29 17:23:21 +01:00
parent 99883608bd
commit 8548ba5b49
2 changed files with 29 additions and 0 deletions

View File

@@ -73,6 +73,16 @@ in {
serviceConfig.Restart = "always";
};
systemd.services.telegram-nachtischsatan = {
wantedBy = [ "multi-user.target" ];
description = "*flubberflubber*";
enable = true;
script = toString (pkgs.callPackage <niveum/packages/scripts/nachtischsatan-bot.nix> {
token = lib.strings.fileContents <secrets/telegram/nachtischsatan.token>;
});
serviceConfig.Restart = "always";
};
systemd.services.telegram-proverb = {
wantedBy = [ "multi-user.target" ];
description = "Telegram bot for generating inspiring but useless proverbs";