From c359c6959a114500fedc0749d280f7f971954fe6 Mon Sep 17 00:00:00 2001 From: gtgteq <59947264+gtgteq@users.noreply.github.com> Date: Sun, 16 Feb 2020 06:55:35 +0900 Subject: [PATCH] nixos/postgresql: Change local auth method from ident to peer (#80179) --- 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 284e2878d64e..0b79a996dc78 100644 --- a/nixos/modules/services/databases/postgresql.nix +++ b/nixos/modules/services/databases/postgresql.nix @@ -251,7 +251,7 @@ in services.postgresql.authentication = mkAfter '' # Generated file; do not edit! - local all all ident + local all all peer host all all 127.0.0.1/32 md5 host all all ::1/128 md5 '';