about summary refs log tree commit diff
path: root/nixos/doc/manual/installation
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-05-12 22:11:17 +0200
committerRobert Hensing <robert@roberthensing.nl>2021-05-13 01:29:02 +0200
commit7b0e0ca35e07a3043f2427e96d5f10478fdc5597 (patch)
treeb1c30775c0060912cac8c33a1c02393791a5cdda /nixos/doc/manual/installation
parent75c4fc1c8bf1c4c453c2b7279d70dc058d0b60ba (diff)
downloadnixlib-7b0e0ca35e07a3043f2427e96d5f10478fdc5597.tar
nixlib-7b0e0ca35e07a3043f2427e96d5f10478fdc5597.tar.gz
nixlib-7b0e0ca35e07a3043f2427e96d5f10478fdc5597.tar.bz2
nixlib-7b0e0ca35e07a3043f2427e96d5f10478fdc5597.tar.lz
nixlib-7b0e0ca35e07a3043f2427e96d5f10478fdc5597.tar.xz
nixlib-7b0e0ca35e07a3043f2427e96d5f10478fdc5597.tar.zst
nixlib-7b0e0ca35e07a3043f2427e96d5f10478fdc5597.zip
nixos-install-tools: init
The essential commands from the NixOS installer as a package

With this package, you get the commands like nixos-generate-config and
nixos-install that you would otherwise only find on a NixOS system, such
as an installer image.

This way, you can install NixOS using a machine that only has Nix.

It also includes the manpages, which are important because the commands
rely on those for providing --help.
Diffstat (limited to 'nixos/doc/manual/installation')
-rw-r--r--nixos/doc/manual/installation/installing-from-other-distro.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/doc/manual/installation/installing-from-other-distro.xml b/nixos/doc/manual/installation/installing-from-other-distro.xml
index 43f69b923d14..63d1d52b01b2 100644
--- a/nixos/doc/manual/installation/installing-from-other-distro.xml
+++ b/nixos/doc/manual/installation/installing-from-other-distro.xml
@@ -84,12 +84,12 @@ nixpkgs https://nixos.org/channels/nixpkgs-unstable</screen>
    </para>
    <para>
     You'll need <literal>nixos-generate-config</literal> and
-    <literal>nixos-install</literal> and we'll throw in some man pages and
-    <literal>nixos-enter</literal> just in case you want to chroot into your
-    NixOS partition. They are installed by default on NixOS, but you don't have
+    <literal>nixos-install</literal>, but this also makes some man pages
+    and <literal>nixos-enter</literal> available, just in case you want to chroot into your
+    NixOS partition. NixOS installs these by default, but you don't have
     NixOS yet..
    </para>
-<screen><prompt>$ </prompt>nix-env -f '&lt;nixpkgs/nixos&gt;' --arg configuration {} -iA config.system.build.{nixos-generate-config,nixos-install,nixos-enter,manual.manpages}</screen>
+   <screen><prompt>$ </prompt>nix-env -f '&lt;nixpkgs>' -iA nixos-install-tools</screen>
   </listitem>
   <listitem>
    <note>