From ffae6bae755045b011674a9ed4e3698ba2d5e7a0 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 2 Dec 2021 09:16:13 -0500 Subject: [PATCH] functionality/ssh-tunnel: change forwards to port type --- modules/functionality/ssh-tunnel.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/functionality/ssh-tunnel.nix b/modules/functionality/ssh-tunnel.nix index 4a483c8..ae06043 100644 --- a/modules/functionality/ssh-tunnel.nix +++ b/modules/functionality/ssh-tunnel.nix @@ -23,17 +23,17 @@ in type = types.submodule { options = { dynamic = mkOption { - type = with types; listOf (either int string); + type = with types; listOf (either port string); default = [ ]; description = "List of dynamic ports to open through the ssh tunnel. See ssh(1) for ``-D``"; }; local = mkOption { - type = with types; listOf (either int string); + type = with types; listOf (either port string); default = [ ]; description = "List of local ports to open through the ssh tunnel. See ssh(1) for ``-L``"; }; remote = mkOption { - type = with types; listOf (either int string); + type = with types; listOf (either port string); default = [ ]; description = "List of remote ports to open through the ssh tunnel. See ssh(1) for ``-R``"; };