diff --git a/hosts/jokum/services/matrix/discord.nix b/hosts/jokum/services/matrix/discord.nix index 332f893..c9bc054 100644 --- a/hosts/jokum/services/matrix/discord.nix +++ b/hosts/jokum/services/matrix/discord.nix @@ -21,9 +21,7 @@ in bridge = { bindAddress = "localhost"; domain = "pvv.ntnu.no"; - # systemd-resolved reads hosts and redirects matrix->jokum->127.0.0.2 which nginx doesnt listen to - # this line points the bridge at whatever the ip for the main synapse listener is - homeserverUrl = "http://${lib.head (lib.attrNames config.services.nginx.upstreams.synapse_master.servers)}"; + homeserverUrl = "https://matrix.pvv.ntnu.no"; }; provisioning.whitelist = [ "@dandellion:dodsorf\\.as" "@danio:pvv\\.ntnu\\.no"]; relay.whitelist = [ ".*" ];