Files
Nixos-Config/modules/system/firewall.nix
2026-04-20 15:08:47 +00:00

14 lines
302 B
Nix

# ==========================================
# FIREWALL CONFIGURATION
# ==========================================
{ config, pkgs, ... }:
{
# UFW-style firewall — deny all inbound by default
networking.firewall = {
enable = true;
allowedTCPPorts = [ ];
allowedUDPPorts = [ ];
};
}