diff options
Diffstat (limited to 'systems/atlas/moyai.nix')
| -rw-r--r-- | systems/atlas/moyai.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/systems/atlas/moyai.nix b/systems/atlas/moyai.nix new file mode 100644 index 0000000..1d0f1ec --- /dev/null +++ b/systems/atlas/moyai.nix @@ -0,0 +1,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; + }; +} |
