summaryrefslogtreecommitdiff
path: root/systems/atlas/teawiebot.nix
diff options
context:
space:
mode:
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;
+ };
+}