From 008260213151742a33ffe9dfae4f28bf5d7138d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Fri, 14 Oct 2022 15:20:19 +0200 Subject: [PATCH] feat(smyth): only once per day --- configs/telegram-bots/smyth.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/telegram-bots/smyth.nix b/configs/telegram-bots/smyth.nix index 93cacdd..cfd8016 100644 --- a/configs/telegram-bots/smyth.nix +++ b/configs/telegram-bots/smyth.nix @@ -5,7 +5,7 @@ }: { niveum.telegramBots.smyth = { enable = true; - time = "06/6:00"; + time = "08:00"; token = lib.strings.fileContents ; chatIds = ["@HerbertWeirSmyth"]; command = toString (pkgs.writers.writeDash "random-smyth" '' @@ -25,7 +25,7 @@ ''); }; - systemd.timers.telegram-bot-smyth.timerConfig.RandomizedDelaySec = "3h"; + systemd.timers.telegram-bot-smyth.timerConfig.RandomizedDelaySec = "10h"; niveum.passport.services = [ {