diff --git a/modules/postgresql.nix b/modules/postgresql.nix index f170c43..d6707ba 100644 --- a/modules/postgresql.nix +++ b/modules/postgresql.nix @@ -42,10 +42,11 @@ in services.postgresql.port = port; services.postgresql.authentication = lib.mkOverride 10 '' #type database DBuser origin-address auth-method + local all all peer # ipv4 - host all all 127.0.0.1/32 trust + host all all 127.0.0.1/32 trust # ipv6 - host all all ::1/128 trust + host all all ::1/128 trust ''; };