Skip to content

Commit 876df37

Browse files
Mic92mergify[bot]
authored andcommitted
documentation: add missing options
1 parent 9811c4f commit 876df37

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/reference.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,20 @@ Options:
6565
build the closure on the remote machine instead of locally and copy-closuring it
6666
* --vm-test
6767
build the system and test the disk configuration inside a VM without installing it to the target.
68+
* --generate-hardware-config facter|nixos-generate-config <path>
69+
generate a hardware-configuration.nix file using the specified backend and write it to the specified path.
70+
The backend can be either 'facter' or 'nixos-generate-config'.
6871
* --phases
6972
comma separated list of phases to run. Default is: kexec,disko,install,reboot
7073
kexec: kexec into the nixos installer
7174
disko: first unmount and destroy all filesystems on the disks we want to format, then run the create and mount mode
7275
install: install the system
7376
reboot: reboot the machine
77+
* --disko-mode create|mount|disko
78+
set the disko mode to create, mount or destroy. Default is disko.
79+
format: create partition tables, zpools, lvms, raids and filesystems (Experimental: Can be run increntally, but use with caution and good backups)
80+
mount: mount the partition at the specified root-mountpoint
81+
disko: first unmount and destroy all filesystems on the disks we want to format, then run the create and mount mode
7482
```
7583

7684
## Explanation of known error messages

0 commit comments

Comments
 (0)