diff --git a/nixos/doc/manual/from_md/installation/installing.chapter.xml b/nixos/doc/manual/from_md/installation/installing.chapter.xml
index db073fa83965..aee0b30a7076 100644
--- a/nixos/doc/manual/from_md/installation/installing.chapter.xml
+++ b/nixos/doc/manual/from_md/installation/installing.chapter.xml
@@ -411,6 +411,13 @@ OK
specify on which disk the GRUB boot loader is to be
installed. Without it, NixOS cannot boot.
+
+ If there are other operating systems running on the
+ machine before installing NixOS, the
+
+ option can be set to true to
+ automatically add them to the grub menu.
+
@@ -436,13 +443,6 @@ OK
-
- If there are other operating systems running on the machine
- before installing NixOS, the
- option can
- be set to true to automatically add them to
- the grub menu.
-
If you need to configure networking for your machine the
configuration options are described in
diff --git a/nixos/doc/manual/installation/installing.chapter.md b/nixos/doc/manual/installation/installing.chapter.md
index def4f37fbcaa..8a46d68ae3ba 100644
--- a/nixos/doc/manual/installation/installing.chapter.md
+++ b/nixos/doc/manual/installation/installing.chapter.md
@@ -296,6 +296,11 @@ Use the following commands:
specify on which disk the GRUB boot loader is to be installed.
Without it, NixOS cannot boot.
+ : If there are other operating systems running on the machine before
+ installing NixOS, the [](#opt-boot.loader.grub.useOSProber)
+ option can be set to `true` to automatically add them to the grub
+ menu.
+
UEFI systems
: You *must* set the option [](#opt-boot.loader.systemd-boot.enable)
@@ -307,11 +312,6 @@ Use the following commands:
[`boot.loader.systemd-boot`](#opt-boot.loader.systemd-boot.enable)
as well.
- If there are other operating systems running on the machine before
- installing NixOS, the [](#opt-boot.loader.grub.useOSProber)
- option can be set to `true` to automatically add them to the grub
- menu.
-
If you need to configure networking for your machine the
configuration options are described in [](#sec-networking). In
particular, while wifi is supported on the installation image, it is