summaryrefslogtreecommitdiff
path: root/systems/atlas/teawiebot.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-22 12:21:26 -0500
committerseth <[email protected]>2023-12-23 03:09:13 +0000
commit4cc4e1fec5775a15663eb4d91d171276aa04ecf4 (patch)
tree5c2c4047b0162cd8b93b6c1d98535e122fd74b7b /systems/atlas/teawiebot.nix
parent22bca10b77d06ea7706b6baaff2d796a58985b96 (diff)
atlas: separate teawiebot module
Diffstat (limited to 'systems/atlas/teawiebot.nix')
-rw-r--r--systems/atlas/teawiebot.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/systems/atlas/teawiebot.nix b/systems/atlas/teawiebot.nix
new file mode 100644
index 0000000..dac2998
--- /dev/null
+++ b/systems/atlas/teawiebot.nix
@@ -0,0 +1,12 @@
+{
+ config,
+ secretsDir,
+ ...
+}: {
+ age.secrets.teawiebot.file = secretsDir + "/teawieBot.age";
+
+ services.teawiebot = {
+ enable = true;
+ environmentFile = config.age.secrets.teawiebot.path;
+ };
+}