mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-10-05 20:27:20 +03:00
README: simplify code example
This commit is contained in:
parent
a278faaa29
commit
64608a803d
@ -187,12 +187,12 @@ Once you’ve created the disk configuration and the flake, you can run the tool
|
|||||||
with a single nix command, which may look like this:
|
with a single nix command, which may look like this:
|
||||||
|
|
||||||
```
|
```
|
||||||
nix run github:numtide/nixos-anywhere -- --flake github:JillThornhill/flakes-example#hetzner-cloud root@135.181.254.201
|
nix run github:numtide/nixos-anywhere -- --flake .#hetzner-cloud root@135.181.254.201
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that this command references the URL of your flake, in this case
|
Note that this command references the URL of your flake, in this case `.#`,
|
||||||
github:JillThornhill/flakes-example, together with the name of the system
|
together with the name of the system `hetzner-cloud`, as highlighted by the
|
||||||
#hetzner-cloud, as highlighted by the comment in the sample flake.
|
comment in the sample flake.
|
||||||
|
|
||||||
The [Quickstart Guide](./docs/quickstart.md) gives more information on how to
|
The [Quickstart Guide](./docs/quickstart.md) gives more information on how to
|
||||||
run **nixos-anywhere** in its simplest form. For more specific instructions to
|
run **nixos-anywhere** in its simplest form. For more specific instructions to
|
||||||
|
Loading…
Reference in New Issue
Block a user