summary refs log tree commit diff
path: root/nixos/doc/manual/man-nixos-install.xml
diff options
context:
space:
mode:
authorGwendolyn Quasebarth <gwen@quasebarth.de>2020-01-03 11:30:55 +0100
committerGwendolyn Quasebarth <gwen@quasebarth.de>2020-01-03 11:33:22 +0100
commit6dca2312cec4521c39f03124b51c6ad08f3c034b (patch)
treeee547221b861e050f97ace6d5c670791194d198e /nixos/doc/manual/man-nixos-install.xml
parent72d4651b5969461a6380ec40018dd676723623a9 (diff)
downloadnixpkgs-6dca2312cec4521c39f03124b51c6ad08f3c034b.tar
nixpkgs-6dca2312cec4521c39f03124b51c6ad08f3c034b.tar.gz
nixpkgs-6dca2312cec4521c39f03124b51c6ad08f3c034b.tar.bz2
nixpkgs-6dca2312cec4521c39f03124b51c6ad08f3c034b.tar.lz
nixpkgs-6dca2312cec4521c39f03124b51c6ad08f3c034b.tar.xz
nixpkgs-6dca2312cec4521c39f03124b51c6ad08f3c034b.tar.zst
nixpkgs-6dca2312cec4521c39f03124b51c6ad08f3c034b.zip
nixos-install: add documentation for --channel, --no-channel-copy
Diffstat (limited to 'nixos/doc/manual/man-nixos-install.xml')
-rw-r--r--nixos/doc/manual/man-nixos-install.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixos/doc/manual/man-nixos-install.xml b/nixos/doc/manual/man-nixos-install.xml
index 93082f914be..0752c397182 100644
--- a/nixos/doc/manual/man-nixos-install.xml
+++ b/nixos/doc/manual/man-nixos-install.xml
@@ -56,6 +56,13 @@
    </arg>
 
    <arg>
+     <arg choice='plain'>
+       <option>--channel</option>
+     </arg>
+     <replaceable>channel</replaceable>
+   </arg>
+
+   <arg>
     <arg choice='plain'>
      <option>--no-channel-copy</option>
     </arg>
@@ -127,6 +134,12 @@
      </para>
     </listitem>
     <listitem>
+      <para>
+        It installs the current channel <quote>nixos</quote> in the target channel
+        profile (unless <option>--no-channel-copy</option> is specified).
+      </para>
+    </listitem>
+    <listitem>
      <para>
       It installs the GRUB boot loader on the device specified in the option
       <option>boot.loader.grub.device</option> (unless
@@ -203,6 +216,18 @@
     </listitem>
    </varlistentry>
    <varlistentry>
+     <term>
+       <option>--channel</option>
+     </term>
+     <listitem>
+       <para>
+         If this option is provided, do not copy the current
+         <quote>nixos</quote> channel to the target host. Instead, use the
+         specified derivation.
+       </para>
+     </listitem>
+   </varlistentry>
+   <varlistentry>
     <term>
      <option>-I</option>
     </term>