From f667310c066ca7f773518b2efb94e76ebea08163 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Jul 2015 13:46:38 +0200 Subject: [PATCH] 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 --- nixos/modules/services/databases/postgresql.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix index de14c56f7971..328e864ced38 100644 --- a/nixos/modules/services/databases/postgresql.nix +++ b/nixos/modules/services/databases/postgresql.nix @@ -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"}