From ba681a9cdfdacb3787fa19f518726181c7f83b87 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 30 Apr 2024 20:40:06 +0100 Subject: [PATCH] Allow for firewall connections to xdebug --- lib/nixos/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/nixos/configuration.nix b/lib/nixos/configuration.nix index 9ab1473..c9696b5 100644 --- a/lib/nixos/configuration.nix +++ b/lib/nixos/configuration.nix @@ -150,7 +150,9 @@ in { services.openssh.enable = true; # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; + networking.firewall.allowedTCPPorts = [ + 9003 # xdebug + ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. # networking.firewall.enable = false;