Files
nix-config/modules/firewall.nix
2023-12-02 17:37:24 +01:00

9 lines
198 B
Nix

{ config, pkgs, lib, inputs, vars, ... }:
let
allowedUDPPortRanges = vars.udpRanges;
in
{
networking.firewall.enable = true;
networking.firewall.allowedUDPPortRanges = allowedUDPPortRanges;
}