From 00448ad15abd9ed161b7c76449f5b6fed38035e6 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 24 Apr 2022 09:41:51 -0400 Subject: fix firewall config --- modules/simple-firewall.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/simple-firewall.nix b/modules/simple-firewall.nix index 7a3ad3e..1590bcd 100644 --- a/modules/simple-firewall.nix +++ b/modules/simple-firewall.nix @@ -8,13 +8,13 @@ in enable = lib.mkEnableOption "Enable nftables firewall"; allowedUDPPorts = lib.mkOption { - type = lib.types.listOf lib.types.port; + type = lib.types.listOf lib.types.anything; default = []; description = "List of TCP ports to allow"; }; allowedTCPPorts = lib.mkOption { - type = lib.types.listOf lib.types.port; + type = lib.types.listOf lib.types.anything; default = []; description = "List of TCP ports to allow"; }; -- cgit v1.2.3