From ee4f05d0f914b64bc1cd94d0a5a8482a8e399da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Fri, 29 Apr 2022 20:52:22 +0100 Subject: [PATCH] use local connection for postgresql --- config/services/matrix-media-repo.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/services/matrix-media-repo.nix b/config/services/matrix-media-repo.nix index 26d3c2e1..d00bad3a 100644 --- a/config/services/matrix-media-repo.nix +++ b/config/services/matrix-media-repo.nix @@ -6,7 +6,7 @@ let bindAddress = "127.0.0.1"; port = 8008; }; - database.postgres = "postgresql://matrix-media-repo@localhost/matrix-media-repo?sslmode=disable"; + database.postgres = "postgresql:///matrix-media-repo?sslmode=disable"; homeservers = [{ name = "chir.rs"; csApi = "https://matrix.chir.rs";