summary refs log tree commit diff
path: root/modules/programs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/ssh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/ssh.nix b/modules/programs/ssh.nix
index c325a4bea34..ce07c4f3b32 100644
--- a/modules/programs/ssh.nix
+++ b/modules/programs/ssh.nix
@@ -7,7 +7,7 @@
     [ { # SSH configuration.  Slight duplication of the sshd_config
         # generation in the sshd service.
         source = pkgs.writeText "ssh_config" ''
-          ${if config.services.sshd.forwardX11 then ''
+          ${if config.services.openssh.forwardX11 then ''
             ForwardX11 yes
             XAuthLocation ${pkgs.xorg.xauth}/bin/xauth
           '' else ''