about summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorDavid Izquierdo <david@izquierdofernandez.com>2018-10-25 10:21:34 +0200
committerDavid Izquierdo <david@izquierdofernandez.com>2018-11-06 12:58:14 +0100
commitd2af8fb3d28546924a12e296c6efc4e7c94f9ba2 (patch)
tree400ea060bf1b7a7f2d9a0764e79ca59ed2c0b18e /nixos/doc
parent670ee54a284aa553bfe7fee57bc17f05f948fefc (diff)
downloadnixlib-d2af8fb3d28546924a12e296c6efc4e7c94f9ba2.tar
nixlib-d2af8fb3d28546924a12e296c6efc4e7c94f9ba2.tar.gz
nixlib-d2af8fb3d28546924a12e296c6efc4e7c94f9ba2.tar.bz2
nixlib-d2af8fb3d28546924a12e296c6efc4e7c94f9ba2.tar.lz
nixlib-d2af8fb3d28546924a12e296c6efc4e7c94f9ba2.tar.xz
nixlib-d2af8fb3d28546924a12e296c6efc4e7c94f9ba2.tar.zst
nixlib-d2af8fb3d28546924a12e296c6efc4e7c94f9ba2.zip
Docs: init section Installation Device in chapter Profiles
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/configuration/profiles.xml1
-rw-r--r--nixos/doc/manual/configuration/profiles/installation-device.xml35
2 files changed, 36 insertions, 0 deletions
diff --git a/nixos/doc/manual/configuration/profiles.xml b/nixos/doc/manual/configuration/profiles.xml
index bcca84321766..841d8d798199 100644
--- a/nixos/doc/manual/configuration/profiles.xml
+++ b/nixos/doc/manual/configuration/profiles.xml
@@ -33,4 +33,5 @@
  <xi:include href="profiles/graphical.xml" />
  <xi:include href="profiles/hardened.xml" />
  <xi:include href="profiles/headless.xml" />
+ <xi:include href="profiles/installation-device.xml" />
 </chapter>
diff --git a/nixos/doc/manual/configuration/profiles/installation-device.xml b/nixos/doc/manual/configuration/profiles/installation-device.xml
new file mode 100644
index 000000000000..44ccfc538ad1
--- /dev/null
+++ b/nixos/doc/manual/configuration/profiles/installation-device.xml
@@ -0,0 +1,35 @@
+
+<section xmlns="http://docbook.org/ns/docbook"
+         xmlns:xlink="http://www.w3.org/1999/xlink"
+         xmlns:xi="http://www.w3.org/2001/XInclude"
+         version="5.0"
+         xml:id="sec-profile-installation-device">
+ <title>Installation Device</title>
+ <para>
+  Provides a basic configuration for installation devices like CDs. This means
+  enabling hardware scans, using the <link linkend="sec-profile-clone-config">
+   Clone Config profile</link> to guarantee
+  <filename>/etc/nixos/configuration.nix</filename> exists (for
+  <command>nixos-rebuild</command> to work), a copy of the Nixpkgs channel
+  snapshot used to create the install media.
+ </para>
+ <para>
+  Additionally, documentation for <link linkend="opt-documentation.enable">
+   Nixpkgs</link> and <link linkend="opt-documentation.nixos.enable">NixOS
+   </link> are forcefully enabled (to override the
+   <link linkend="sec-profile-minimal">Minimal profile</link> preference); the
+   NixOS manual is shown automatically on TTY 8, sudo and udisks are disabled.
+   Autologin is enabled as root.
+ </para>
+ <para>
+  A message is shown to the user to start a display manager if needed,
+  ssh with <xref linkend="opt-services.openssh.permitRootLogin"/> are enabled (but
+  doesn't autostart). WPA Supplicant is also enabled without autostart.
+ </para>
+ <para>
+  Finally, vim is installed, root is set to not have a password, the kernel is
+  made more silent for remote public IP installs, and several settings are
+  tweaked so that the installer has a better chance of succeeding under
+  low-memory environments.
+ </para>
+</section>