From d7e09684158649fb733843114100d87cfdfde223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Santiago?= Date: Sun, 24 Mar 2024 02:42:26 -0400 Subject: [PATCH] open ports for LocalSend and KDE Connect --- configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configuration.nix b/configuration.nix index 9b8986d..9ea240d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -148,6 +148,7 @@ htop hyfetch kdePackages.kdeconnect-kde + localsend logitech-udev-rules meslo-lgs-nf microcodeIntel @@ -173,6 +174,18 @@ # OpenSSH daemon services.openssh.enable = true; + networking.firewall = { + enable = true; + allowedTCPPorts = [ 53317 ]; # LocalSend + allowedTCPPortRanges = [ + { from = 1714; to = 1764; } # KDE Connect + ]; + allowedUDPPorts = [ 53317 ]; # LocalSend + allowedUDPPortRanges = [ + { from = 1714; to = 1764; } # KDE Connect + ]; + }; + system.stateVersion = "23.11"; }