summaryrefslogtreecommitdiff
path: root/nixos/shared/postgresql.nix
blob: 6d9bb40895dbf33473e7821fcd91a275306c17bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, pkgs, ... }:

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