blob: 274895b6564c1b3783556b5bc2f58f91442d07d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ config, lib, pkgs, ... }:
{
config = {
services.postgresql = {
enable = true;
authentication = pkgs.lib.mkOverride 10 ''
#type database DBuser auth-method
local sameuser all peer
local all prometheus-sql-exporter peer
'';
};
};
}
|