13 lines
224 B
Nix
13 lines
224 B
Nix
{ ... }: {
|
|
networking = {
|
|
firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [
|
|
1443 # Headscale DERP (tcp)
|
|
];
|
|
allowedUDPPorts = [
|
|
3478 # Headscale DERP (udp)
|
|
];
|
|
};
|
|
};
|
|
}
|