system/nixos/hosts/canigou/services/telegram-bot.nix

12 lines
255 B
Nix

{ config, ... }:
{
services.yandexgpt_telegram_bot = {
enabled = true;
environmentFile = config.age.secrets.yandexgpt-tg-bot-env.path;
};
age.secrets.yandexgpt-tg-bot-env = {
file = ../../../../secrets/yandexgpt-tg-bot-env.age;
};
}