nixfiles/modules/desktop/firewall.nix

17 lines
No EOL
320 B
Nix

{ config, pkgs, ... }:
{
networking.firewall = {
enable = false;
allowedUDPPorts = [53];
allowedTCPPorts = [53 22 22067 22070];
allowedTCPPortRanges = [
{ from = 1714; to = 1764; } # KDE Connect
];
allowedUDPPortRanges = [
{ from = 1714; to = 1764; } # KDE Connect
];
};
}