diff --git a/services/authelia.nix b/services/authelia.nix index d572ab5..ff8e4c3 100644 --- a/services/authelia.nix +++ b/services/authelia.nix @@ -149,7 +149,7 @@ in }; storage.postgres = { host = "/run/postgresql"; - inherit (config.services.postgresql) port; + inherit (config.services.postgresql.settings) port; username = cfg.user; database = cfg.user; # password not used since it uses peer auth