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 . ''; };