From df5f0dc9c477f8845baf1f8e489c69c2ef28308a Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 23 Jan 2024 05:46:24 +0100 Subject: [PATCH] tsuki/matrix: use postgres through socket --- hosts/tsuki/services/matrix/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hosts/tsuki/services/matrix/default.nix b/hosts/tsuki/services/matrix/default.nix index 09016ec..cd28e39 100644 --- a/hosts/tsuki/services/matrix/default.nix +++ b/hosts/tsuki/services/matrix/default.nix @@ -67,10 +67,8 @@ name = "psycopg2"; args = { user = "matrix-synapse"; - # TODO: Generate proper password - password = ""; database = "matrix-synapse"; - host = "localhost"; + host = "/var/run/postgresql"; port = secrets.ports.postgres; }; };