From cded37b1bd46be122f99f2d9ffced1b79b077865 Mon Sep 17 00:00:00 2001 From: cybrneko Date: Sat, 4 Jul 2026 16:08:08 -0500 Subject: [PATCH] added firewall support for KDE connect --- configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configuration.nix b/configuration.nix index 827fb30..167b62a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -129,6 +129,15 @@ # services.openssh.enable = true; # Open ports in the firewall. + networking.firewall = { + allowedTCPPortRanges = [ + { from = 1714; to = 1764; } + ]; + + allowedUDPPortRanges = [ + { from = 1714; to = 1764; } + ]; + }; # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether.