14 lines
232 B
Nix
14 lines
232 B
Nix
|
{ ... }:
|
||
|
{
|
||
|
services.postgresql = {
|
||
|
enable = true;
|
||
|
enableTCPIP = true;
|
||
|
authentication = ''
|
||
|
# tailscale xps
|
||
|
host all all 100.94.170.21/32 md5
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
networking.firewall.allowedTCPPorts = [ 5432 ];
|
||
|
}
|