Merge pull request #133557 from SuperSandro2000/SuperSandro2000-patch-1

nixos/ssh: cleanup X11Forwarding setting
This commit is contained in:
Timothy DeHerrera 2021-08-11 17:18:48 -06:00 committed by GitHub
commit 90016afdb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -520,11 +520,7 @@ in
XAuthLocation ${pkgs.xorg.xauth}/bin/xauth
''}
${if cfg.forwardX11 then ''
X11Forwarding yes
'' else ''
X11Forwarding no
''}
X11Forwarding ${if cfg.forwardX11 then "yes" else "no"}
${optionalString cfg.allowSFTP ''
Subsystem sftp ${cfg.sftpServerExecutable} ${concatStringsSep " " cfg.sftpFlags}