diff --git a/modules/config/no-x-libs.nix b/modules/config/no-x-libs.nix index fbefc5b6b3eb..667d1b8e9057 100644 --- a/modules/config/no-x-libs.nix +++ b/modules/config/no-x-libs.nix @@ -7,14 +7,14 @@ example = true; description = '' Switch off the options in the default configuration that require X libraries. - Currently this includes: sshd.forwardX11, dbus, hal, fonts.enableCoreFonts, + Currently this includes: openssh.forwardX11, dbus, hal, fonts.enableCoreFonts, fonts.enableFontConfig ''; }; }; config = pkgs.lib.mkIf config.environment.noXlibs { services = { - sshd = { + openssh = { forwardX11 = false; }; dbus.enable = false;