mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
Fix setting programs.ssh.setXAuthLocation
The configuration { services.openssh.enable = true; services.openssh.forwardX11 = false; } caused programs.ssh.setXAuthLocation to be set to false, which was not the intent. The intent is that programs.ssh.setXAuthLocation should be automatically enabled if needed or if xauth is already available.
This commit is contained in:
parent
6e08a55474
commit
d69dce080d
2 changed files with 1 additions and 3 deletions
|
@ -228,8 +228,6 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
programs.ssh.setXAuthLocation = mkForce cfg.forwardX11;
|
||||
|
||||
users.extraUsers.sshd =
|
||||
{ isSystemUser = true;
|
||||
description = "SSH privilege separation user";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue