mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-02-23 05:32:06 +00:00
25 lines
No EOL
542 B
Nix
25 lines
No EOL
542 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
# Open ports in the firewall.
|
|
networking.firewall.allowedTCPPortRanges = [
|
|
{ from = 1714; to = 1764; } # used by KDE Connect
|
|
{ from = 3000; to = 3999; }
|
|
{ from = 8000; to = 8999; }
|
|
];
|
|
networking.firewall.allowedUDPPortRanges = [
|
|
{ from = 1714; to = 1764; } # used by KDE Connect
|
|
{ from = 3000; to = 3999; }
|
|
{ from = 8000; to = 8999; }
|
|
];
|
|
networking.firewall.allowedTCPPorts = [
|
|
22
|
|
80
|
|
443
|
|
];
|
|
networking.firewall.allowedUDPPorts = [
|
|
22
|
|
80
|
|
443
|
|
];
|
|
} |