nix/modules/system/hardware/firewall.nix

10 lines
118 B
Nix

{ ... }:
{
networking.firewall = {
enable = true;
allowedTCPPorts = [ ];
allowedUDPPorts = [ ];
};
}