From ec260995e25a38be212b4ba807de2b763fee996d Mon Sep 17 00:00:00 2001 From: Vonfry Date: Wed, 18 Aug 2021 09:44:23 +0800 Subject: [PATCH] xsession: set default value of windowManager.command to handle display manager parameter (#2123) Co-authored-by: Nicolas Berbiche --- modules/xsession.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/xsession.nix b/modules/xsession.nix index 215d691da..efc31413e 100644 --- a/modules/xsession.nix +++ b/modules/xsession.nix @@ -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. + + The default value allows integration with NixOS' generated xserver configuration. + + Extra actions and commands can be specified in . ''; };