diff options
| author | Seth Flynn <[email protected]> | 2025-02-04 18:29:03 -0500 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-02-04 18:46:44 -0500 |
| commit | dc0a4af24756bf162ab9081e1041612a03f2aac2 (patch) | |
| tree | ddf9c38ec49f59ba53754985dea7864ec8b2b437 /systems/atlas/moyai.nix | |
| parent | 090b8b759f8b1fda7ac9c6fdda200593adcbc633 (diff) | |
flake: teawiebot -> moyai-bot
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; + }; +} |
