diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-04-24 09:41:51 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-04-24 09:41:51 -0400 |
commit | 00448ad15abd9ed161b7c76449f5b6fed38035e6 (patch) | |
tree | 70a601009fd10c0c0a4f5f5d7cbba7ad243d2e21 /modules | |
parent | 0fd06cba8845d62827a2b39bdeec59e809a78dfa (diff) |
fix firewall config
Diffstat (limited to 'modules')
-rw-r--r-- | modules/simple-firewall.nix | 4 |
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"; }; |