nixos/doc: fixup startx chapter

rnhmjoj 9fa43536 618c33dd

Changed files
+5 -3
nixos
doc
manual
configuration
+5 -3
nixos/doc/manual/configuration/x-windows.chapter.md
···
## Running X without a display manager {#sec-x11-startx}
It is possible to avoid a display manager entirely and starting the X server
-
manually from a virtual terminal. Add to your configuration
+
manually from a virtual terminal. Add to your configuration:
```nix
{
services.xserver.displayManager.startx = {
···
The second option will generate a base `xinitrc` script that will run your
window manager and set up the systemd user session.
-
You can extend the script using the [extraCommands](#opt-services.xserver.displayManager.startx.extraCommands) for example:
+
You can extend the script using the
+
[extraCommands](#opt-services.xserver.displayManager.startx.extraCommands)
+
option, for example:
```nix
{
services.xserver.displayManager.startx = {
···
or, alternatively, you can write your own from scratch in `~/.xinitrc`.
In this case, remember you're responsible for starting the window manager, for
-
example
+
example:
```shell
sxhkd &
bspwm &