mirror of
https://github.com/kmein/niveum
synced 2026-03-28 23:31:07 +01:00
chore: format with alejandra
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
scripts = import <niveum/packages/scripts> { inherit pkgs lib; };
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
scripts = import <niveum/packages/scripts> {inherit pkgs lib;};
|
||||
inherit (scripts) literature-quote;
|
||||
in {
|
||||
niveum.telegramBots.quotebot = {
|
||||
enable = true;
|
||||
time = "08/6:00";
|
||||
token = lib.strings.fileContents <system-secrets/telegram/kmein.token>;
|
||||
chatIds = [ "18980945" "757821027" "455964311" ];
|
||||
chatIds = ["18980945" "757821027" "455964311"];
|
||||
command = "${literature-quote}/bin/literature-quote";
|
||||
parseMode = "Markdown";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user