From 6c6d7dc11db0bf645c1799abd32af2be9094ee0b Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 3 Apr 2014 14:19:18 -0500 Subject: [PATCH] ssh: Don't set xauth if not running xserver --- nixos/modules/programs/ssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix index a66679dff90d..89333533465e 100644 --- a/nixos/modules/programs/ssh.nix +++ b/nixos/modules/programs/ssh.nix @@ -31,7 +31,7 @@ in setXAuthLocation = mkOption { type = types.bool; - default = true; + default = config.services.xserver.enable; description = '' Whether to set the path to xauth for X11-forwarded connections. This causes a dependency on X11 packages.