summary refs log tree commit diff
path: root/nixos/doc/manual/configuration/x-windows.xml
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2019-04-27 12:33:27 +0200
committeraszlig <aszlig@nix.build>2019-04-27 12:39:37 +0200
commit7ba9b0a41b8b72ef8ac263b6d4601432f6a41891 (patch)
treefa17717f8da5a96fc928f0f2836571e5c80d4304 /nixos/doc/manual/configuration/x-windows.xml
parent75d150f9daacd76a5f0d2fc5329e347b65aab05b (diff)
downloadnixpkgs-7ba9b0a41b8b72ef8ac263b6d4601432f6a41891.tar
nixpkgs-7ba9b0a41b8b72ef8ac263b6d4601432f6a41891.tar.gz
nixpkgs-7ba9b0a41b8b72ef8ac263b6d4601432f6a41891.tar.bz2
nixpkgs-7ba9b0a41b8b72ef8ac263b6d4601432f6a41891.tar.lz
nixpkgs-7ba9b0a41b8b72ef8ac263b6d4601432f6a41891.tar.xz
nixpkgs-7ba9b0a41b8b72ef8ac263b6d4601432f6a41891.tar.zst
nixpkgs-7ba9b0a41b8b72ef8ac263b6d4601432f6a41891.zip
nixos: Fix build of manual
The build error has been introduced by 56dcc319cffc18411fd9bda020f0fbd.

Using a <simplesect/> within a <para/> is not allowed and subsequently
fails to validate while building the manual.

So instead, I moved the <simplesect/> further down and outside of the
<para/> to fix this.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @aaronjanse, @Lassulus, @danbst
Diffstat (limited to 'nixos/doc/manual/configuration/x-windows.xml')
-rw-r--r--nixos/doc/manual/configuration/x-windows.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/nixos/doc/manual/configuration/x-windows.xml b/nixos/doc/manual/configuration/x-windows.xml
index 4e37a4c053a..798d1fbdfd8 100644
--- a/nixos/doc/manual/configuration/x-windows.xml
+++ b/nixos/doc/manual/configuration/x-windows.xml
@@ -59,7 +59,15 @@
 <screen>
 # systemctl start display-manager.service
 </screen>
-  <simplesect xml:id="sec-x11-auto-login">
+ </para>
+ <para>
+  On 64-bit systems, if you want OpenGL for 32-bit programs such as in Wine,
+  you should also set the following:
+<programlisting>
+<xref linkend="opt-hardware.opengl.driSupport32Bit"/> = true;
+</programlisting>
+ </para>
+ <simplesect xml:id="sec-x11-auto-login">
   <title>Auto-login</title>
   <para>
   The x11 login screen can be skipped entirely, automatically logging you into
@@ -85,14 +93,6 @@
 </programlisting>
   </para>
  </simplesect>
- </para>
- <para>
-  On 64-bit systems, if you want OpenGL for 32-bit programs such as in Wine,
-  you should also set the following:
-<programlisting>
-<xref linkend="opt-hardware.opengl.driSupport32Bit"/> = true;
-</programlisting>
- </para>
  <simplesect xml:id="sec-x11-graphics-cards-nvidia">
   <title>Proprietary NVIDIA drivers</title>
   <para>