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:
Eelco Dolstra 2015-07-01 13:46:38 +02:00
parent 6f6be9bf2a
commit f667310c06

View file

@ -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"}