diff --git a/modules/programs/ssh.nix b/modules/programs/ssh.nix index 9f06e8b53..435ee5e3f 100644 --- a/modules/programs/ssh.nix +++ b/modules/programs/ssh.nix @@ -89,6 +89,12 @@ let known_hosts file. ''; }; + + proxyCommand = mkOption { + type = types.nullOr types.str; + default = null; + description = "The command to use to connect to the server."; + }; }; }; @@ -104,6 +110,7 @@ let ++ optional (cf.serverAliveInterval != 0) " ServerAliveInterval ${toString cf.serverAliveInterval}" ++ optional (!cf.checkHostIP) " CheckHostIP no" + ++ optional (cf.proxyCommand != null) " ProxyCommand ${cf.proxyCommand}" ); in