nixos/security.nix

16 lines
246 B
Nix
Raw Normal View History

2026-06-15 11:50:02 +02:00
{
config,
lib,
pkgs,
...
}:
2026-05-28 11:30:05 +02:00
{
networking.nftables.enable = true;
networking.firewall = {
enable = true;
# Should go in LWK_CONNECT system module or flake
allowedTCPPorts = [ 1716 ];
allowedUDPPorts = [ 1716 ];
2026-05-28 11:30:05 +02:00
};
}