Use mkAfter for services.postgresql.authentication
Authentication methods are tried in order, so if another NixOS module defines a specific ident mapping like local hydra all ident map=hydra-users it should appear before the generic local all all ident
This commit is contained in:
parent
6f6be9bf2a
commit
f667310c06
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ in
|
|||
|
||||
config = mkIf config.services.postgresql.enable {
|
||||
|
||||
services.postgresql.authentication =
|
||||
services.postgresql.authentication = mkAfter
|
||||
''
|
||||
# Generated file; do not edit!
|
||||
local all all ident ${optionalString pre84 "sameuser"}
|
||||
|
|
Loading…
Reference in a new issue