diff options
author | William A. Kennington III <william@wkennington.com> | 2014-04-03 14:19:18 -0500 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-04-03 14:28:45 -0500 |
commit | 6c6d7dc11db0bf645c1799abd32af2be9094ee0b (patch) | |
tree | 8f9d650de3748c5b65a78d4fb7709a71a661f3c9 /nixos/modules/programs | |
parent | 6e086caa8aca6c5d90bc32536efd705a674ecd10 (diff) | |
download | nixlib-6c6d7dc11db0bf645c1799abd32af2be9094ee0b.tar nixlib-6c6d7dc11db0bf645c1799abd32af2be9094ee0b.tar.gz nixlib-6c6d7dc11db0bf645c1799abd32af2be9094ee0b.tar.bz2 nixlib-6c6d7dc11db0bf645c1799abd32af2be9094ee0b.tar.lz nixlib-6c6d7dc11db0bf645c1799abd32af2be9094ee0b.tar.xz nixlib-6c6d7dc11db0bf645c1799abd32af2be9094ee0b.tar.zst nixlib-6c6d7dc11db0bf645c1799abd32af2be9094ee0b.zip |
ssh: Don't set xauth if not running xserver
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/ssh.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 <command>xauth</command> for X11-forwarded connections. This causes a dependency on X11 packages. |