Skip to content

Commit b3ed5b5

Browse files
committed
fix flags in nixos-generate-config examples
1 parent 082fb15 commit b3ed5b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,13 @@ If you also need to generate hardware configuration amend flags for
232232
nixos-generate-config:
233233

234234
```
235-
nix run --generate-hardware-config nixos-generate-config ./hardware-configuration.nix github:nix-community/nixos-anywhere -- --flake <path to configuration>#<configuration name> root@<ip address>
235+
nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./hardware-configuration.nix --flake <path to configuration>#<configuration name> root@<ip address>
236236
```
237237

238238
Or these flags if you are using nixos-facter instead:
239239

240240
```
241-
nix run --generate-hardware-config nixos-facter ./facter.json github:nix-community/nixos-anywhere -- --flake <path to configuration>#<configuration name> root@<ip address>
241+
nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-facter ./facter.json --flake <path to configuration>#<configuration name> root@<ip address>
242242
```
243243

244244
Adjust the location of `./hardware-configuration.nix` and `./facter.json`

0 commit comments

Comments
 (0)