nixos/ssh: cleanup X11Forwarding setting
This commit is contained in:
parent
1eea388646
commit
cbf6bbac91
|
@ -520,11 +520,7 @@ in
|
||||||
XAuthLocation ${pkgs.xorg.xauth}/bin/xauth
|
XAuthLocation ${pkgs.xorg.xauth}/bin/xauth
|
||||||
''}
|
''}
|
||||||
|
|
||||||
${if cfg.forwardX11 then ''
|
X11Forwarding ${if cfg.forwardX11 then "yes" else "no"}
|
||||||
X11Forwarding yes
|
|
||||||
'' else ''
|
|
||||||
X11Forwarding no
|
|
||||||
''}
|
|
||||||
|
|
||||||
${optionalString cfg.allowSFTP ''
|
${optionalString cfg.allowSFTP ''
|
||||||
Subsystem sftp ${cfg.sftpServerExecutable} ${concatStringsSep " " cfg.sftpFlags}
|
Subsystem sftp ${cfg.sftpServerExecutable} ${concatStringsSep " " cfg.sftpFlags}
|
||||||
|
|
Loading…
Reference in a new issue