{ config, lib, pkgs, ... }: { config = { services.postgresql = { enable = true; authentication = pkgs.lib.mkOverride 10 '' #type database DBuser auth-method local sameuser all peer ''; }; }; }