diff --git a/modules/xsession.nix b/modules/xsession.nix
index 215d691d..efc31413 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 .
'';
};