From 1515afe8796c28d9c5ec6bbd359edd60fc5e382e Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 18 Aug 2019 00:57:19 +0200 Subject: nixos/doc: update installation-device.nix This got quite outdated. We now have both the nixos and root user available for example. --- .../configuration/profiles/installation-device.xml | 38 ++++++++++------------ 1 file changed, 18 insertions(+), 20 deletions(-) (limited to 'nixos/doc') diff --git a/nixos/doc/manual/configuration/profiles/installation-device.xml b/nixos/doc/manual/configuration/profiles/installation-device.xml index 3dcdf403d89d..192ae955b689 100644 --- a/nixos/doc/manual/configuration/profiles/installation-device.xml +++ b/nixos/doc/manual/configuration/profiles/installation-device.xml @@ -6,33 +6,31 @@ Installation Device - Provides a basic configuration for installation devices like CDs. This means - enabling hardware scans, using the - Clone Config profile to guarantee - /etc/nixos/configuration.nix exists (for - nixos-rebuild to work), a copy of the Nixpkgs channel - snapshot used to create the install media. + Provides a basic configuration for installation devices like CDs. + This enables redistributable firmware, includes the + Clone Config profile + and a copy of the Nixpkgs channel, so nixos-install + works out of the box. - - Additionally, documentation for - Nixpkgs and NixOS - are forcefully enabled (to override the + Documentation for Nixpkgs + and NixOS are + forcefully enabled (to override the Minimal profile preference); the - NixOS manual is shown automatically on TTY 8, sudo and udisks are disabled. - Autologin is enabled as root. + NixOS manual is shown automatically on TTY 8, udisks is disabled. + Autologin is enabled as nixos user, while passwordless + login as both root and nixos is possible. + Passwordless sudo is enabled too. + wpa_supplicant is + enabled, but configured to not autostart. - - A message is shown to the user to start a display manager if needed, ssh with - are enabled (but - doesn't autostart). WPA Supplicant is also enabled without autostart. + It is explained how to login, start the ssh server, and if available, + how to start the display manager. - 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. + Several settings are tweaked so that the installer has a better chance of + succeeding under low-memory environments. -- cgit 1.4.1 From d6eb5b068fa893a5e5c571d8c94d15d12ebabf63 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 18 Aug 2019 02:03:58 +0200 Subject: nixos/doc/clone-config.xml: add line about installation media = installation target --- nixos/doc/manual/configuration/profiles/clone-config.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nixos/doc') diff --git a/nixos/doc/manual/configuration/profiles/clone-config.xml b/nixos/doc/manual/configuration/profiles/clone-config.xml index 234835845e2d..21c4ea75d6dd 100644 --- a/nixos/doc/manual/configuration/profiles/clone-config.xml +++ b/nixos/doc/manual/configuration/profiles/clone-config.xml @@ -11,4 +11,11 @@ creating the image in the first place. As a result it allows users to edit and rebuild the live-system. + + + On images where the installation media also becomes an installation target, + copying over configuration.nix should be disabled by + setting installer.cloneConfig to false. + This is already done in sd-image.nix. + -- cgit 1.4.1