From c876f7a25dd3437f27628cad3b1168909ab86461 Mon Sep 17 00:00:00 2001 From: Domen Kožar Date: Tue, 6 Jan 2015 14:49:18 +0100 Subject: document options to nixos-install script --- nixos/doc/manual/man-nixos-install.xml | 70 +++++++++++++++++++++++++++++++++- nixos/doc/manual/man-pages.xml | 2 +- 2 files changed, 70 insertions(+), 2 deletions(-) (limited to 'nixos') diff --git a/nixos/doc/manual/man-nixos-install.xml b/nixos/doc/manual/man-nixos-install.xml index 0ebee7d23f9b2..06e7b4a98470e 100644 --- a/nixos/doc/manual/man-nixos-install.xml +++ b/nixos/doc/manual/man-nixos-install.xml @@ -11,12 +11,29 @@ nixos-install - install NixOS + install bootloader and NixOS nixos-install + + + path + + + + root + + + + + + + + + + @@ -55,6 +72,56 @@ it. +Options + +This command accepts the following options: + + + + + + + Defaults to /mnt. If this option is given, treat the directory + root as the root of the NixOS installation. + + + + + + + + Add a path to the Nix expression search path. This option may be given multiple times. + See the NIX_PATH environment variable for information on the semantics of the Nix search path. + Paths added through -I take precedence over NIX_PATH. + + + + + + + Causes Nix to print out a stack trace in case of Nix expression evaluation errors. + + + + + + + Chroot into given installation. Any additional arguments passed are going to be executed inside the chroot. + + + + + + + + Synonym for man nixos-install. + + + + + + + Examples @@ -72,6 +139,7 @@ $ mount /dev/sda1 /mnt $ nixos-generate-config --root /mnt $ # edit /mnt/etc/nixos/configuration.nix $ nixos-install +$ reboot diff --git a/nixos/doc/manual/man-pages.xml b/nixos/doc/manual/man-pages.xml index 467864e208bd2..97a2c16d406e0 100644 --- a/nixos/doc/manual/man-pages.xml +++ b/nixos/doc/manual/man-pages.xml @@ -15,7 +15,7 @@ - 2007-2013 + 2007-2015 Eelco Dolstra -- cgit 1.4.1