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
@ -154,7 +154,7 @@ in
|
|||||||
|
|
||||||
config = mkIf config.services.postgresql.enable {
|
config = mkIf config.services.postgresql.enable {
|
||||||
|
|
||||||
services.postgresql.authentication =
|
services.postgresql.authentication = mkAfter
|
||||||
''
|
''
|
||||||
# Generated file; do not edit!
|
# Generated file; do not edit!
|
||||||
local all all ident ${optionalString pre84 "sameuser"}
|
local all all ident ${optionalString pre84 "sameuser"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user