From 7413eb8b492f213fb5b066684cec38e3f966fee7 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Mon, 9 Apr 2018 00:31:29 -0500 Subject: [PATCH] nixos/postgresql: remove ancient hack for postgres 8.4 Signed-off-by: Austin Seipp --- nixos/modules/services/databases/postgresql.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix index 0dcbfe2e47a..f022e0863df 100644 --- a/nixos/modules/services/databases/postgresql.nix +++ b/nixos/modules/services/databases/postgresql.nix @@ -36,9 +36,6 @@ let ${cfg.extraConfig} ''; - pre84 = versionOlder (builtins.parseDrvName postgresql.name).version "8.4"; - - in { @@ -182,7 +179,7 @@ in services.postgresql.authentication = mkAfter '' # Generated file; do not edit! - local all all ident ${optionalString pre84 "sameuser"} + local all all ident host all all 127.0.0.1/32 md5 host all all ::1/128 md5 '';