From 037d9c6cab17a5dc28ed01c6b96c74e55cee57bc Mon Sep 17 00:00:00 2001 From: obadz Date: Sun, 24 Jul 2016 14:45:24 +0100 Subject: nixos-install: add options --closure, --no-channel-copy, --no-root-passwd, and --no-bootloader MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #17236 nix-build -A tests.installer.simple '' succeeds ✓ --- nixos/doc/manual/man-nixos-install.xml | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) (limited to 'nixos/doc/manual/man-nixos-install.xml') diff --git a/nixos/doc/manual/man-nixos-install.xml b/nixos/doc/manual/man-nixos-install.xml index 7ad1be1ec10..15c603256ca 100644 --- a/nixos/doc/manual/man-nixos-install.xml +++ b/nixos/doc/manual/man-nixos-install.xml @@ -25,6 +25,19 @@ root + + + closure + + + + + + + + + + @@ -71,12 +84,13 @@ the following steps: /mnt/etc/nixos/configuration.nix. It installs the GRUB boot loader on the device - specified in the option , + specified in the option + (unless is specified), and generates a GRUB configuration file that boots into the NixOS configuration just installed. - It prompts you for a password for the root - account. + It prompts you for a password for the root account + (unless is specified). @@ -103,6 +117,19 @@ it. + + + + If this option is provided, nixos-install will install the specified closure + rather than attempt to build one from /mnt/etc/nixos/configuration.nix. + + The closure must be an appropriately configured NixOS system, with boot loader and partition + configuration that fits the target host. Such a closure is typically obtained with a command such as + nix-build -I nixos-config=./configuration.nix '<nixos>' -A system --no-out-link + + + + -- cgit 1.4.1