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"; }