summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/simple-firewall.nix4
1 files 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";
};