1
Fork 0

feat: postgres

This commit is contained in:
Matei Adriel 2020-05-10 00:38:47 +03:00
parent 396fb43028
commit 63ba91ac97

View file

@ -0,0 +1,15 @@
{ pkgs, lib, ... }: {
services.postgresql = {
enable = true;
package = pkgs.postgresql_10;
enableTCPIP = true;
authentication = lib.mkForce ''
# Generated file; do not edit!
# TYPE DATABASE USER ADDRESS METHOD
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
'';
};
}