Skip to content

Commit

Permalink
nixos/displayManager: fix typo in legacy sessions (#76626)
Browse files Browse the repository at this point in the history
xsession gets passed `dm` `wm`, so the desktop manager would be launched
before the window manager resulting in a regular desktop manager
session.

Fixes #76625
  • Loading branch information
hedning committed Dec 29, 2019
1 parent ccf839b commit 3d70d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/display-managers/default.nix
Expand Up @@ -380,7 +380,7 @@ in
wms = filter (s: s.manage == "window") cfg.displayManager.session;

# Script responsible for starting the window manager and the desktop manager.
xsession = wm: dm: pkgs.writeScript "xsession" ''
xsession = dm: wm: pkgs.writeScript "xsession" ''
#! ${pkgs.bash}/bin/bash
# Legacy session script used to construct .desktop files from
Expand Down

0 comments on commit 3d70d4b

Please sign in to comment.