File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -232,13 +232,13 @@ If you also need to generate hardware configuration amend flags for
232
232
nixos-generate-config:
233
233
234
234
```
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>
236
236
```
237
237
238
238
Or these flags if you are using nixos-facter instead:
239
239
240
240
```
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>
242
242
```
243
243
244
244
Adjust the location of ` ./hardware-configuration.nix ` and ` ./facter.json `
You can’t perform that action at this time.
0 commit comments