diff options
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/atlas/default.nix | 2 | ||||
| -rw-r--r-- | systems/atlas/moyai.nix | 16 | ||||
| -rw-r--r-- | systems/atlas/teawiebot.nix | 16 |
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; - }; -} |
