hosts/hosts/open-pgsql.nix

12 lines
261 B
Nix
Raw Normal View History

2023-02-26 16:42:49 +01:00
{ ... }:
{
# Open PostgreSQL port for data transfer
services.postgresql = {
enableTCPIP = true;
authentication = ''
host all all 192.168.178.0/24 trust
'';
};
networking.firewall.allowedTCPPorts = [ 5432 ];
}