From 8c7ffab70e607373b4598f1237e808f43e5672c8 Mon Sep 17 00:00:00 2001 From: quitte Date: Mon, 9 Oct 2023 21:19:05 +0200 Subject: [PATCH] mautrix-telegram: enable again and small fix --- flake.nix | 2 +- modules/mautrix-telegram.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 0ab656f..8392cb7 100755 --- a/flake.nix +++ b/flake.nix @@ -48,7 +48,7 @@ ./modules/stream.nix ./modules/nextcloud.nix ./modules/matrix.nix - # ./modules/mautrix-telegram.nix + ./modules/mautrix-telegram.nix ./modules/sogo.nix ./modules/vaultwarden.nix ./modules/website.nix diff --git a/modules/mautrix-telegram.nix b/modules/mautrix-telegram.nix index 2b96d14..f17f29b 100644 --- a/modules/mautrix-telegram.nix +++ b/modules/mautrix-telegram.nix @@ -46,12 +46,13 @@ in # Use postgresql instead of sqlite database = "postgresql:///mautrix-telegram?host=/run/postgresql"; port = 8082; - address = "localhost:${toString port}"; + address = "http://localhost:${toString port}"; }; bridge = { relaybot.authless_portals = false; permissions = { + # Add yourself here temporarily "@admin:${homeserverDomain}" = "admin"; }; relay_user_distinguishers = [ ];