diff --git a/nixos/doc/manual/man-nixos-rebuild.xml b/nixos/doc/manual/man-nixos-rebuild.xml
index 4c20cfcdd7d2..a83c4fb965eb 100644
--- a/nixos/doc/manual/man-nixos-rebuild.xml
+++ b/nixos/doc/manual/man-nixos-rebuild.xml
@@ -7,10 +7,12 @@
NixOS
+
nixos-rebuildreconfigure a NixOS machine
+
nixos-rebuild
@@ -74,6 +76,7 @@
builder-spec
+
@@ -121,8 +124,10 @@
+
Description
+
This command updates the system so that it corresponds to the configuration
specified in /etc/nixos/configuration.nix. Thus, every
@@ -133,9 +138,11 @@
(re)starts any system services if needed. Please note that user services need
to be started manually as they aren't detected by the activation script at the moment.
+
This command has one required argument, which specifies the desired
operation. It must be one of the following:
+
@@ -152,6 +159,7 @@
+
@@ -165,6 +173,7 @@
+
@@ -179,6 +188,7 @@
+
@@ -197,6 +207,7 @@
+
@@ -208,6 +219,7 @@
+
@@ -222,6 +234,7 @@
+
@@ -232,6 +245,7 @@
+
@@ -249,12 +263,14 @@
$ ./result/bin/run-*-vm
+
The VM is implemented using the qemu package. For
best performance, you should load the kvm-intel or
kvm-amd kernel modules to get hardware
virtualisation.
+
The VM mounts the Nix store of the host through the 9P file system. The
host Nix store is read-only, so Nix commands that modify the Nix store
@@ -262,6 +278,7 @@
nixos-rebuild; to change the VM’s configuration,
you must halt the VM and re-run the commands above.
+
The VM has its own ext3 root file system, which is
automatically created when the VM is first started, and is persistent
@@ -272,6 +289,7 @@
+
@@ -294,11 +312,13 @@
+
Options
This command accepts the following options:
+
@@ -310,6 +330,7 @@
+
@@ -321,6 +342,7 @@
+
@@ -336,6 +358,7 @@
+
@@ -349,6 +372,7 @@
+
@@ -363,6 +387,7 @@
+
builder-spec
@@ -382,6 +407,7 @@
+
@@ -412,6 +438,7 @@
+
@@ -437,6 +464,7 @@
+
@@ -449,6 +477,7 @@
be accessible over ssh, and for the commands ,
and you need root access.
+
If is not explicitly specified,
will implicitly be set to the same value as
@@ -457,6 +486,7 @@
place remotely (and no build artifacts will be copied to the local
machine).
+
You can include a remote user name in the host name
(user@host). You can also set ssh options by
@@ -465,6 +495,7 @@
+
In addition, nixos-rebuild accepts various Nix-related
flags, including / ,
@@ -473,8 +504,10 @@
. See the Nix manual for details.
+
Environment
+
@@ -487,6 +520,7 @@
+
NIX_SSHOPTS
@@ -500,9 +534,12 @@
+
Files
+
+
/run/current-system
@@ -513,6 +550,7 @@
+
/nix/var/nix/profiles/system
@@ -524,8 +562,10 @@
+
+
Bugs