nixos/security.nix
2026-06-15 11:50:02 +02:00

16 lines
246 B
Nix

{
config,
lib,
pkgs,
...
}:
{
networking.nftables.enable = true;
networking.firewall = {
enable = true;
# Should go in LWK_CONNECT system module or flake
allowedTCPPorts = [ 1716 ];
allowedUDPPorts = [ 1716 ];
};
}