Skip to content

Commit 8714293

Browse files
committed
add missing flags in documentation
1 parent fadbb63 commit 8714293

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

docs/reference.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,23 @@ Options:
3333
set an ssh option
3434
* -L, --print-build-logs
3535
print full build logs
36+
* --env-password
37+
set a password used by ssh-copy-id, the password should be set by
38+
the environment variable SSHPASS
3639
* -s, --store-paths <disko-script> <nixos-system>
3740
set the store paths to the disko-script and nixos-system directly
38-
if this is give, flake is not needed
39-
* --no-reboot
40-
do not reboot after installation, allowing further customization of the target installation.
41+
if this is given, flake is not needed
4142
* --kexec <path>
4243
use another kexec tarball to bootstrap NixOS
44+
* --kexec-extra-flags
45+
extra flags to add into the call to kexec, e.g. "--no-sync"
4346
* --post-kexec-ssh-port <ssh_port>
4447
after kexec is executed, use a custom ssh port to connect. Defaults to 22
4548
* --copy-host-keys
4649
copy over existing /etc/ssh/ssh_host_* host keys to the installation
47-
* --stop-after-disko
48-
exit after disko formatting, you can then proceed to install manually or some other way
49-
* --extra-files <file...>
50-
files to copy into the new nixos installation
50+
* --extra-files <path>
51+
path to a directory to copy into the root of the new nixos installation.
52+
Copied files will be owned by root.
5153
* --disk-encryption-keys <remote_path> <local_path>
5254
copy the contents of the file or pipe in local_path to remote_path in the installer environment,
5355
after kexec but before installation. Can be repeated.
@@ -63,6 +65,12 @@ Options:
6365
build the closure on the remote machine instead of locally and copy-closuring it
6466
* --vm-test
6567
build the system and test the disk configuration inside a VM without installing it to the target.
68+
* --phases
69+
comma separated list of phases to run. Default is: kexec,disko,install,reboot
70+
kexec: kexec into the nixos installer
71+
disko: first unmount and destroy all filesystems on the disks we want to format, then run the create and mount mode
72+
install: install the system
73+
reboot: reboot the machine
6674
```
6775

6876
## Explanation of known error messages

0 commit comments

Comments
 (0)