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/default.nix | 2 +- systems/atlas/moyai.nix | 16 ++++++++++++++++ systems/atlas/teawiebot.nix | 16 ---------------- 3 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 systems/atlas/moyai.nix delete mode 100644 systems/atlas/teawiebot.nix (limited to 'systems') 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; - }; -} -- cgit v1.2.3