diff --git a/modules/services/postgres.nix b/modules/services/postgres.nix index 18288dd..8be69ea 100644 --- a/modules/services/postgres.nix +++ b/modules/services/postgres.nix @@ -9,8 +9,10 @@ in { enable = true; dataDir = dir; authentication = lib.mkOverride 10 '' - #type database DBuser auth-method - local all all trust + #type database DBuser origin-address auth-method + local all all trust + host all all 127.0.0.1/32 trust + host all all ::1/128 trust ''; }; }