From 69aac159fa460c9a2517832b842fd0288aa9c90c Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Tue, 22 Aug 2023 18:42:50 +0200 Subject: [PATCH] epyc: open postgresql publicly --- hosts/epyc.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/epyc.nix b/hosts/epyc.nix index 67025ab..0b94506 100644 --- a/hosts/epyc.nix +++ b/hosts/epyc.nix @@ -17,6 +17,10 @@ in boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # Open public access to our PostgreSQL. + services.postgresql.enableTCPIP = true; + networking.firewall.allowedTCPPorts = [ 5432 ]; + virtualisation.nvisor.vms = { vm01 = { config = { pkgs, ... }: {