From 95fb2ae683850f8ba949bf4d55e7eaf8a17629e4 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Thu, 20 Jul 2023 13:00:30 +0200 Subject: [PATCH] fix hedgedoc database config --- modules/hedgedoc.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/hedgedoc.nix b/modules/hedgedoc.nix index 5e087c4..a10abb1 100644 --- a/modules/hedgedoc.nix +++ b/modules/hedgedoc.nix @@ -23,7 +23,10 @@ in port = 3002; domain = "${domain}"; protocolUseSSL = true; - dbURL = "postgres://hedgedoc@%2Frun%2Fpostgresql/hedgedoc"; + db = { + dialect = "postgres"; + host = "/run/postgresql/"; + }; sessionSecret = "\${SESSION_SECRET}"; csp = { enable = true;