Add migrations directory for temporary helpers

This commit is contained in:
fruchti 2025-12-05 11:23:03 +01:00
parent 14228644e6
commit 825d350ab4
3 changed files with 33 additions and 2 deletions

11
migrations/open_pgsql.nix Normal file
View file

@ -0,0 +1,11 @@
{ ... }:
{
# Open PostgreSQL port for data transfer
services.postgresql = {
enableTCPIP = true;
authentication = ''
host all all 192.168.178.0/24 trust
'';
};
networking.firewall.allowedTCPPorts = [ 5432 ];
}