From dc0a4af24756bf162ab9081e1041612a03f2aac2 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Tue, 4 Feb 2025 18:29:03 -0500 Subject: flake: teawiebot -> moyai-bot --- systems/atlas/moyai.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 systems/atlas/moyai.nix (limited to 'systems/atlas/moyai.nix') 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; + }; +} -- cgit v1.2.3