From 21cafb4b8530d3e167124d1e8a7c2c88e2b749b9 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 9 Nov 2025 13:37:45 +0100 Subject: [PATCH] module: set postgresql.host to /run/postgresql Closes #79 So apparently the Python-based server knew to use `/run/postgresql` if `host` is empty, but the Go driver tripped over it. Use this explicitly to fix both cases. --- module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module.nix b/module.nix index 23ccab0..94e4621 100644 --- a/module.nix +++ b/module.nix @@ -307,7 +307,7 @@ in postgresql = mkIf cfg.createDatabase { user = mkDefault "authentik"; name = mkDefault "authentik"; - host = mkDefault ""; + host = mkDefault "/run/postgresql"; }; cert_discovery_dir = mkIf (cfg.nginx.enable && cfg.nginx.enableACME) "env://CREDENTIALS_DIRECTORY"; storage.media = {