Files
Numbus/modules/backup/networking/firewall.nix
T
2026-05-02 12:52:08 +02:00

13 lines
244 B
Nix

{ config, pkgs, lib, ... }:
{
config = {
networking.nftables.enable = true;
networking.firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [ 53 80 443 ];
allowedUDPPorts = [ 53 443 ];
};
};
}