services.xserver.displayManager.session
List of sessions supported with the command used to start each
session. Each session script can set the
waitPID shell variable to make this script
wait until the end of the user session. Each script is used
to define either a window manager or a desktop manager. These
can be differentiated by setting the attribute
manage either to "window"
or "desktop".
The list of desktop manager and window manager should appear inside the display manager with the desktop manager name followed by the window manager name.
- Type
list of (attribute set)- Default
[ ]- Example
[ { manage = "desktop"; name = "xterm"; start = '' ${pkgs.xterm}/bin/xterm -ls & waitPID=$! ''; } ]- Declared
- <nixpkgs/nixos/modules/services/x11/display-managers/default.nix>