1
0
mirror of https://github.com/kmein/niveum synced 2026-03-23 13:21:06 +01:00

remove specialArgs inputs

This commit is contained in:
2025-12-28 13:19:15 +01:00
parent ab895d9f7b
commit 29571bce10
15 changed files with 186 additions and 444 deletions

View File

@@ -1,13 +1,8 @@
{
pkgs,
config,
inputs,
lib,
...
}:
let
hesychius = inputs.scripts.outPath + "/hesychius/hesychius.txt";
in
{
niveum.bots.hesychius = {
enable = true;
@@ -22,7 +17,7 @@ in
tokenFile = config.age.secrets.telegram-token-kmein.path;
chatIds = [ "@HesychiosAlexandreus" ];
};
command = "${pkgs.coreutils}/bin/shuf -n1 ${hesychius}";
command = "${pkgs.coreutils}/bin/shuf -n1 ${pkgs.hesychius}";
};
systemd.timers.bot-hesychius.timerConfig.RandomizedDelaySec = "10h";