summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorgtgteq <59947264+gtgteq@users.noreply.github.com>2020-02-16 06:55:35 +0900
committerGitHub <noreply@github.com>2020-02-15 23:55:35 +0200
commitc359c6959a114500fedc0749d280f7f971954fe6 (patch)
treeb1822e8e3a0081ac945b975525392e6fddfeb645 /nixos/modules
parent9b57092c19f5d3a19ea5e46bf5dcf80ed27248e2 (diff)
nixos/postgresql: Change local auth method from ident to peer (#80179)
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/databases/postgresql.nix2
1 files changed, 1 insertions, 1 deletions
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
'';