nix-dotfiles/hosts/kasei/services/postgres.nix

14 lines
232 B
Nix
Raw Permalink Normal View History

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