diff --git a/nixos/doc/manual/administration/boot-problems.section.md b/nixos/doc/manual/administration/boot-problems.section.md
index eb9209602a32..d7843327c19e 100644
--- a/nixos/doc/manual/administration/boot-problems.section.md
+++ b/nixos/doc/manual/administration/boot-problems.section.md
@@ -16,7 +16,7 @@ If NixOS fails to boot, there are a number of kernel command line parameters tha
`boot.debug1mounts`
-: Like `boot.debug1` or `boot.debug1devices`, but runs stage1 until all filesystems that are mounted during initrd are mounted (see [neededForBoot](#opt-fileSystems._name_.neededForBoot)). As a motivating example, this could be useful if you've forgotten to set [neededForBoot](options.html#opt-fileSystems._name_.neededForBoot) on a file system.
+: Like `boot.debug1` or `boot.debug1devices`, but runs stage1 until all filesystems that are mounted during initrd are mounted (see [neededForBoot](#opt-fileSystems._name_.neededForBoot)). As a motivating example, this could be useful if you've forgotten to set [neededForBoot](#opt-fileSystems._name_.neededForBoot) on a file system.
`boot.trace`
diff --git a/nixos/doc/manual/administration/service-mgmt.chapter.md b/nixos/doc/manual/administration/service-mgmt.chapter.md
index ccf61c929ed1..bb0f9b62e913 100644
--- a/nixos/doc/manual/administration/service-mgmt.chapter.md
+++ b/nixos/doc/manual/administration/service-mgmt.chapter.md
@@ -96,13 +96,11 @@ the service on boot.
*User* systemd services on the other hand, should be treated
differently. Given a package that has a systemd unit file at
-`#pkg-out#/lib/systemd/user/`, using
-[`systemd.packages`](options.html#opt-systemd.packages) will
+`#pkg-out#/lib/systemd/user/`, using [](#opt-systemd.packages) will
make you able to start the service via `systemctl --user start`, but it
won\'t start automatically on login. However, You can imperatively
enable it by adding the package\'s attribute to
-[`systemd.packages`](options.html#opt-systemd.packages)
-and then do this (e.g):
+[](#opt-systemd.packages) and then do this (e.g):
```ShellSession
$ mkdir -p ~/.config/systemd/user/default.target.wants
diff --git a/nixos/doc/manual/from_md/administration/boot-problems.section.xml b/nixos/doc/manual/from_md/administration/boot-problems.section.xml
index b484d075818a..d169baad7474 100644
--- a/nixos/doc/manual/from_md/administration/boot-problems.section.xml
+++ b/nixos/doc/manual/from_md/administration/boot-problems.section.xml
@@ -61,7 +61,7 @@
neededForBoot).
As a motivating example, this could be useful if you’ve
forgotten to set
- neededForBoot
+ neededForBoot
on a file system.
diff --git a/nixos/doc/manual/from_md/administration/service-mgmt.chapter.xml b/nixos/doc/manual/from_md/administration/service-mgmt.chapter.xml
index 68dc45f3f88a..8b01b8f896a4 100644
--- a/nixos/doc/manual/from_md/administration/service-mgmt.chapter.xml
+++ b/nixos/doc/manual/from_md/administration/service-mgmt.chapter.xml
@@ -109,13 +109,11 @@ systemd.packages = [ pkgs.packagekit ];
User systemd services on the other hand,
should be treated differently. Given a package that has a systemd
unit file at #pkg-out#/lib/systemd/user/, using
- systemd.packages
- will make you able to start the service via
- systemctl --user start, but it won't start
- automatically on login. However, You can imperatively enable it by
- adding the package's attribute to
- systemd.packages
- and then do this (e.g):
+ will make you able to
+ start the service via systemctl --user start,
+ but it won't start automatically on login. However, You can
+ imperatively enable it by adding the package's attribute to
+ and then do this (e.g):
$ mkdir -p ~/.config/systemd/user/default.target.wants