Files
nixos/hosts/homelab/network.nix
T
aloslider f212c874b5 WIP
2026-05-10 11:46:58 +03:00

15 lines
250 B
Nix

{ config, ... }:
{
networking = {
hostName = "homelab";
firewall = {
allowedTCPPorts = [ 22 80 443 6969 ];
allowedUDPPorts = [ 3478 ];
};
};
boot.kernel.sysctl = {
"net.ipv4.ip_unprivileged_port_start" = 80;
};
}