From a28fca11a7b025764c93019efd6c589495ec8dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 8 Oct 2024 18:51:43 +0200 Subject: [PATCH] rename bot structure --- configs/{telegram-bots => bots}/autorenkalender.nix | 0 configs/{telegram-bots => bots}/celan.nix | 0 configs/{telegram-bots => bots}/default.nix | 4 ++-- configs/{telegram-bots => bots}/hesychius.nix | 1 - .../literature-quote.nix => bots/logotheca.nix} | 2 +- configs/{telegram-bots => bots}/nachtischsatan.nix | 0 configs/{telegram-bots => bots}/smyth.nix | 1 - configs/{telegram-bots => bots}/tlg-wotd.nix | 0 configs/{telegram-bots/astrology.nix => bots/transits.nix} | 0 systems/makanek/configuration.nix | 2 +- 10 files changed, 4 insertions(+), 6 deletions(-) rename configs/{telegram-bots => bots}/autorenkalender.nix (100%) rename configs/{telegram-bots => bots}/celan.nix (100%) rename configs/{telegram-bots => bots}/default.nix (98%) rename configs/{telegram-bots => bots}/hesychius.nix (93%) rename configs/{telegram-bots/literature-quote.nix => bots/logotheca.nix} (96%) rename configs/{telegram-bots => bots}/nachtischsatan.nix (100%) rename configs/{telegram-bots => bots}/smyth.nix (95%) rename configs/{telegram-bots => bots}/tlg-wotd.nix (100%) rename configs/{telegram-bots/astrology.nix => bots/transits.nix} (100%) diff --git a/configs/telegram-bots/autorenkalender.nix b/configs/bots/autorenkalender.nix similarity index 100% rename from configs/telegram-bots/autorenkalender.nix rename to configs/bots/autorenkalender.nix diff --git a/configs/telegram-bots/celan.nix b/configs/bots/celan.nix similarity index 100% rename from configs/telegram-bots/celan.nix rename to configs/bots/celan.nix diff --git a/configs/telegram-bots/default.nix b/configs/bots/default.nix similarity index 98% rename from configs/telegram-bots/default.nix rename to configs/bots/default.nix index f10bfa3..ea38921 100644 --- a/configs/telegram-bots/default.nix +++ b/configs/bots/default.nix @@ -11,8 +11,8 @@ inherit (import ../../lib) tmpfilesConfig; in { imports = [ - ./literature-quote.nix - ./astrology.nix + ./logotheca.nix + ./transits.nix ./autorenkalender.nix ./hesychius.nix ./smyth.nix diff --git a/configs/telegram-bots/hesychius.nix b/configs/bots/hesychius.nix similarity index 93% rename from configs/telegram-bots/hesychius.nix rename to configs/bots/hesychius.nix index 2fe5735..8406dd7 100644 --- a/configs/telegram-bots/hesychius.nix +++ b/configs/bots/hesychius.nix @@ -11,7 +11,6 @@ in { enable = true; time = "08:00"; mastodon = { - tokenFile = config.age.secrets.mastodon-token-smyth.path; enable = true; language = "el"; tokenFile = config.age.secrets.mastodon-token-hesychius.path; diff --git a/configs/telegram-bots/literature-quote.nix b/configs/bots/logotheca.nix similarity index 96% rename from configs/telegram-bots/literature-quote.nix rename to configs/bots/logotheca.nix index 94d49e7..24ee3b2 100644 --- a/configs/telegram-bots/literature-quote.nix +++ b/configs/bots/logotheca.nix @@ -5,7 +5,7 @@ niveumPackages, ... }: { - niveum.bots.quotebot = { + niveum.bots.logotheca = { enable = true; time = "08/6:00"; telegram = { diff --git a/configs/telegram-bots/nachtischsatan.nix b/configs/bots/nachtischsatan.nix similarity index 100% rename from configs/telegram-bots/nachtischsatan.nix rename to configs/bots/nachtischsatan.nix diff --git a/configs/telegram-bots/smyth.nix b/configs/bots/smyth.nix similarity index 95% rename from configs/telegram-bots/smyth.nix rename to configs/bots/smyth.nix index 81689d1..772d9b7 100644 --- a/configs/telegram-bots/smyth.nix +++ b/configs/bots/smyth.nix @@ -11,7 +11,6 @@ enable = true; tokenFile = config.age.secrets.mastodon-token-smyth.path; language = "en"; - tokenFile = config.age.secrets.mastodon-token-smyth.path; }; telegram = { enable = true; diff --git a/configs/telegram-bots/tlg-wotd.nix b/configs/bots/tlg-wotd.nix similarity index 100% rename from configs/telegram-bots/tlg-wotd.nix rename to configs/bots/tlg-wotd.nix diff --git a/configs/telegram-bots/astrology.nix b/configs/bots/transits.nix similarity index 100% rename from configs/telegram-bots/astrology.nix rename to configs/bots/transits.nix diff --git a/systems/makanek/configuration.nix b/systems/makanek/configuration.nix index 0910423..ffbddf6 100644 --- a/systems/makanek/configuration.nix +++ b/systems/makanek/configuration.nix @@ -29,7 +29,7 @@ in { ../../configs/retiolum.nix ../../configs/spacetime.nix ../../configs/sshd.nix - ../../configs/telegram-bots + ../../configs/bots ../../configs/admin-essentials.nix ];