From 81e502a651b39e96cc062e9a8a376cc2bd7a4378 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 22 Dec 2023 18:47:24 +0900 Subject: feat(modules/matrix-bridge): [::] -> localhost --- modules/services/matrix-bridge.nix | 2 ++ overlays/mautrix-discord-module.nix | 2 +- overlays/mautrix-signal-module.nix | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/services/matrix-bridge.nix b/modules/services/matrix-bridge.nix index c70942f..04f51be 100644 --- a/modules/services/matrix-bridge.nix +++ b/modules/services/matrix-bridge.nix @@ -30,6 +30,7 @@ in homeserver.verify_ssl = true; appservice = { address = "http://localhost:29317"; + hostname = "localhost"; port = 29317; database = "postgres:///mautrix-telegram?host=/run/postgresql"; bot_avatar = "mxc://maunium.net/tJCRmUyJDsgRNgqhOgoiHWbX"; @@ -130,6 +131,7 @@ in homeserver.verify_ssl = true; appservice = { address = "http://localhost:29319"; + hostname = "localhost"; port = 29319; database = { type = "postgres"; diff --git a/overlays/mautrix-discord-module.nix b/overlays/mautrix-discord-module.nix index d1b2452..47fd2f6 100644 --- a/overlays/mautrix-discord-module.nix +++ b/overlays/mautrix-discord-module.nix @@ -29,7 +29,7 @@ in appservice = rec { database = "sqlite:///${dataDir}/mautrix-discord.db"; database_opts = { }; - hostname = "[::]"; + hostname = "localhost"; port = 8080; address = "http://localhost:${toString port}"; }; diff --git a/overlays/mautrix-signal-module.nix b/overlays/mautrix-signal-module.nix index 5fc2da8..58878b9 100644 --- a/overlays/mautrix-signal-module.nix +++ b/overlays/mautrix-signal-module.nix @@ -29,7 +29,7 @@ in appservice = rec { database = "sqlite:///${dataDir}/mautrix-signal.db"; database_opts = { }; - hostname = "[::]"; + hostname = "localhost"; port = 8080; address = "http://localhost:${toString port}"; }; -- cgit 1.4.1