mirror of
https://github.com/kmein/niveum
synced 2026-03-22 21:01:07 +01:00
feat: astro telegram bot sends to channel
This commit is contained in:
@@ -40,9 +40,9 @@ let
|
|||||||
in {
|
in {
|
||||||
niveum.telegramBots.transits = {
|
niveum.telegramBots.transits = {
|
||||||
enable = true;
|
enable = true;
|
||||||
time = "4:00";
|
time = "0:00";
|
||||||
token = lib.strings.fileContents <system-secrets/telegram/kmein.token>;
|
token = lib.strings.fileContents <system-secrets/telegram/kmein.token>;
|
||||||
chatIds = [ "18980945" ];
|
chatIds = [ "-1001796440545" ];
|
||||||
command = toString (pkgs.writers.writeDash "common-transits" ''
|
command = toString (pkgs.writers.writeDash "common-transits" ''
|
||||||
{
|
{
|
||||||
date=$(${pkgs.coreutils}/bin/date +'%m %d %Y')
|
date=$(${pkgs.coreutils}/bin/date +'%m %d %Y')
|
||||||
|
|||||||
Reference in New Issue
Block a user