diff --git a/modules/services/server/matrix.nix b/modules/services/server/matrix.nix index 6a3cf2a..8e289ce 100644 --- a/modules/services/server/matrix.nix +++ b/modules/services/server/matrix.nix @@ -126,7 +126,7 @@ in { services = { mautrix-telegram = { enable = true; - environmentFile = config.age.secrets."services/matrix/mautrix-telegram.env".path + environmentFile = config.age.secrets."services/matrix/mautrix-telegram.env".path; settings = { homeserver = { address = "http://localhost:8008"; @@ -134,7 +134,6 @@ in { }; appservice = { hostname = "127.0.0.1"; - database = "postgres://${mautrixteledb}"; provisioning.enabled = false; id = "telegram"; public = { @@ -146,7 +145,7 @@ in { startup_sync = true; public_portals = true; double_puppet_server_map = { - "kabtop.de: https://kabtop.de"; + "kabtop.de" = "https://kabtop.de"; }; encryption = { allow = true; @@ -164,11 +163,6 @@ in { "@kabbone:kabtop.de" = "admin"; }; }; - telegram = { - api_id = ${telegram-api_id}; - api_hash = ${telegram-api_hash}; - bot_token = ${telegram-bot_token}; - }; }; }; }; diff --git a/secrets/services/matrix/mautrix-telegram.age b/secrets/services/matrix/mautrix-telegram.age index 4bb8216..352b743 100644 Binary files a/secrets/services/matrix/mautrix-telegram.age and b/secrets/services/matrix/mautrix-telegram.age differ