Skip to content

Commit 0a1dd4c

Browse files
Mic92mergify[bot]
authored andcommitted
fix help of --generate-hardware-config
1 parent 876df37 commit 0a1dd4c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ 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>
68+
* --generate-hardware-config nixos-facter|nixos-generate-config <path>
6969
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'.
70+
The backend can be either 'nixos-facter' or 'nixos-generate-config'.
7171
* --phases
7272
comma separated list of phases to run. Default is: kexec,disko,install,reboot
7373
kexec: kexec into the nixos installer

src/nixos-anywhere.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ Options:
108108
build the closure on the remote machine instead of locally and copy-closuring it
109109
* --vm-test
110110
build the system and test the disk configuration inside a VM without installing it to the target.
111-
* --generate-hardware-config facter|nixos-generate-config <path>
111+
* --generate-hardware-config nixos-facter|nixos-generate-config <path>
112112
generate a hardware-configuration.nix file using the specified backend and write it to the specified path.
113-
The backend can be either 'facter' or 'nixos-generate-config'.
113+
The backend can be either 'nixos-facter' or 'nixos-generate-config'.
114114
* --phases
115115
comma separated list of phases to run. Default is: kexec,disko,install,reboot
116116
kexec: kexec into the nixos installer

0 commit comments

Comments
 (0)