3
0
Fork 0
forked from mirrors/nixpkgs

nixos/ssh: cleanup X11Forwarding setting

This commit is contained in:
Sandro 2021-08-12 01:00:50 +02:00 committed by GitHub
parent 1eea388646
commit cbf6bbac91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}