diff --git a/configs/telegram-bots/hesychius.nix b/configs/telegram-bots/hesychius.nix index feea093..a57c02c 100644 --- a/configs/telegram-bots/hesychius.nix +++ b/configs/telegram-bots/hesychius.nix @@ -13,6 +13,7 @@ in { mastodon = { enable = false; language = "el"; + tokenFile = config.age.secrets.mastodon-token-smyth.path; }; telegram = { enable = true; @@ -24,6 +25,10 @@ in { systemd.timers.bot-hesychius.timerConfig.RandomizedDelaySec = "10h"; + age.secrets = { + mastodon-token-hesychius.file = ../../secrets/mastodon-token-hesychius.age; + }; + niveum.passport.services = [ { title = "Hesychius of Alexandria Bot"; diff --git a/secrets b/secrets index f1092ba..2e949ef 160000 --- a/secrets +++ b/secrets @@ -1 +1 @@ -Subproject commit f1092ba75bdacc207af814b6acbbe332da8eb2c8 +Subproject commit 2e949ef2dd7284cc26f2aa5f67751a276be65325