summaryrefslogtreecommitdiff
path: root/systems/atlas
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-02-04 18:29:03 -0500
committerSeth Flynn <[email protected]>2025-02-04 18:46:44 -0500
commitdc0a4af24756bf162ab9081e1041612a03f2aac2 (patch)
treeddf9c38ec49f59ba53754985dea7864ec8b2b437 /systems/atlas
parent090b8b759f8b1fda7ac9c6fdda200593adcbc633 (diff)
flake: teawiebot -> moyai-bot
Diffstat (limited to 'systems/atlas')
-rw-r--r--systems/atlas/default.nix2
-rw-r--r--systems/atlas/moyai.nix16
-rw-r--r--systems/atlas/teawiebot.nix16
3 files changed, 17 insertions, 17 deletions
diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix
index 7e7bfe7..3ccd4ab 100644
--- a/systems/atlas/default.nix
+++ b/systems/atlas/default.nix
@@ -4,9 +4,9 @@
(modulesPath + "/profiles/minimal.nix")
./hardware-configuration.nix
./miniflux.nix
+ ./moyai.nix
./nginx.nix
./nixpkgs-tracker-bot.nix
- ./teawiebot.nix
inputs.self.nixosModules.default
];
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;
+ };
+}
diff --git a/systems/atlas/teawiebot.nix b/systems/atlas/teawiebot.nix
deleted file mode 100644
index 8f6d560..0000000
--- a/systems/atlas/teawiebot.nix
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- config,
- secretsDir,
- inputs,
- ...
-}:
-{
- imports = [ inputs.teawiebot.nixosModules.default ];
-
- age.secrets.teawiebot.file = secretsDir + "/teawieBot.age";
-
- services.teawiebot = {
- enable = true;
- environmentFile = config.age.secrets.teawiebot.path;
- };
-}