nixos/displayManager: fix typo in legacy sessions (#76626)
xsession gets passed `dm` `wm`, so the desktop manager would be launched before the window manager resulting in a regular desktop manager session. Fixes https://github.com/NixOS/nixpkgs/issues/76625
This commit is contained in:
parent
ccf839b5cf
commit
3d70d4ba0b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user