feat: postgres
This commit is contained in:
parent
396fb43028
commit
63ba91ac97
15
modules/applications/postgres.nix
Normal file
15
modules/applications/postgres.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue