15 lines
260 B
Nix
15 lines
260 B
Nix
{ config, ... }:
|
|
{
|
|
networking = {
|
|
hostName = "homelab";
|
|
firewall = {
|
|
allowedTCPPorts = [ 22 80 443 2222 6969 ];
|
|
allowedUDPPorts = [ 3478 7359 ];
|
|
};
|
|
};
|
|
|
|
boot.kernel.sysctl = {
|
|
"net.ipv4.ip_unprivileged_port_start" = 80;
|
|
};
|
|
}
|