aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-12-22 18:47:24 +0900
committersefidel <contact@sefidel.net>2023-12-22 18:47:24 +0900
commit81e502a651b39e96cc062e9a8a376cc2bd7a4378 (patch)
tree9373d19e72c297e8df8058d8d102eb61d37b22a3
parenta7afd6501d87d0200b7fbfd3ce58b6b14c8f0c06 (diff)
downloadinfra-81e502a651b39e96cc062e9a8a376cc2bd7a4378.zip
feat(modules/matrix-bridge): [::] -> localhost
-rw-r--r--modules/services/matrix-bridge.nix2
-rw-r--r--overlays/mautrix-discord-module.nix2
-rw-r--r--overlays/mautrix-signal-module.nix2
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}";
};