summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix
index ce8a476..d49e70e 100755
--- a/host/Rory-nginx/services/matrix/synapse.nix
+++ b/host/Rory-nginx/services/matrix/synapse.nix
@@ -99,7 +99,8 @@ in
           #passwordFile = "/run/secrets/matrix-synapse-password";
           password = "somepassword";
           database = "matrix-synapse-rory-gay";
-          host = "127.0.0.1";
+          #host = "127.0.0.1";
+          host = "/run/postgresql";
           application_name = "matrix-synapse (rory.gay)";
           cp_min = 5;
           cp_max = 10;
@@ -260,7 +261,8 @@ in
             user = "matrix-synapse-rory-gay";
             password = "somepassword";
             database = "matrix-synapse-rory-gay";
-            host = "127.0.0.1";
+            #host = "127.0.0.1";
+            host = "/run/postgresql";
             application_name = "matrix-synapse (rory.gay) - federation sender ${toString port}";
             cp_min = 2;
             cp_max = 2;