From 519a1079bc9d74c2259c2b5b841554cf608bd6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Sat, 5 Oct 2024 15:09:11 +0200 Subject: [PATCH] smyth: also post on mastodon --- configs/telegram-bots/smyth.nix | 5 +++++ secrets | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configs/telegram-bots/smyth.nix b/configs/telegram-bots/smyth.nix index a7324c2..340459c 100644 --- a/configs/telegram-bots/smyth.nix +++ b/configs/telegram-bots/smyth.nix @@ -10,6 +10,7 @@ mastodon = { enable = false; language = "en"; + tokenFile = config.age.secrets.mastodon-token-smyth.path; }; telegram = { enable = true; @@ -35,6 +36,10 @@ systemd.timers.bot-smyth.timerConfig.RandomizedDelaySec = "10h"; + age.secrets = { + mastodon-token-smyth.file = ../../secrets/mastodon-token-smyth.age; + }; + niveum.passport.services = [ { title = "Herbert Weir Smyth Bot"; diff --git a/secrets b/secrets index 33524fa..f1092ba 160000 --- a/secrets +++ b/secrets @@ -1 +1 @@ -Subproject commit 33524fab97a4b94ab54ba3987ebd14a4da244e77 +Subproject commit f1092ba75bdacc207af814b6acbbe332da8eb2c8