1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-02 21:13:33 +02:00

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 in
"''${xmonad}/bin/xmonad"; "''${xmonad}/bin/xmonad";
''; '';
default = ''test -n "$1" && eval "$@"'';
description = '' 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>.
''; '';
}; };