functionality/ssh-tunnel: change forwards to port type
This commit is contained in:
parent
8732449ee2
commit
ffae6bae75
1 changed files with 3 additions and 3 deletions
|
@ -23,17 +23,17 @@ in
|
||||||
type = types.submodule {
|
type = types.submodule {
|
||||||
options = {
|
options = {
|
||||||
dynamic = mkOption {
|
dynamic = mkOption {
|
||||||
type = with types; listOf (either int string);
|
type = with types; listOf (either port string);
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = "List of dynamic ports to open through the ssh tunnel. See ssh(1) for ``-D``";
|
description = "List of dynamic ports to open through the ssh tunnel. See ssh(1) for ``-D``";
|
||||||
};
|
};
|
||||||
local = mkOption {
|
local = mkOption {
|
||||||
type = with types; listOf (either int string);
|
type = with types; listOf (either port string);
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = "List of local ports to open through the ssh tunnel. See ssh(1) for ``-L``";
|
description = "List of local ports to open through the ssh tunnel. See ssh(1) for ``-L``";
|
||||||
};
|
};
|
||||||
remote = mkOption {
|
remote = mkOption {
|
||||||
type = with types; listOf (either int string);
|
type = with types; listOf (either port string);
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = "List of remote ports to open through the ssh tunnel. See ssh(1) for ``-R``";
|
description = "List of remote ports to open through the ssh tunnel. See ssh(1) for ``-R``";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue