1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{ config, secretsDir, inputs, ... }: { imports = [ inputs.moyai-bot.nixosModules.default ]; age.secrets.moyai-bot.file = secretsDir + "/teawieBot.age"; services.moyai-discord-bot = { enable = true; environmentFile = config.age.secrets.moyai-bot.path; }; }