xsession: set default value of windowManager.command to handle display manager parameter (#2123)

Co-authored-by: Nicolas Berbiche <nicolas@normie.dev>
This commit is contained in:
Vonfry 2021-08-18 09:44:23 +08:00 committed by GitHub
parent 72394f6d6b
commit ec260995e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,8 +43,13 @@ in {
in
"''${xmonad}/bin/xmonad";
'';
default = ''test -n "$1" && eval "$@"'';
description = ''
Window manager start command.
Command to use to start the window manager.
</para><para>
The default value allows integration with NixOS' generated xserver configuration.
</para><para>
Extra actions and commands can be specified in <option>xsession.initExtra</option>.
'';
};