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.
This commit is contained in:
Maximilian Bosch 2025-11-09 13:37:45 +01:00
parent bbd5f56c4b
commit 21cafb4b85
No known key found for this signature in database

View file

@ -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 = {