Skip to content

Commit

Permalink
README: fix rebuild instructions by adding --target-host
Browse files Browse the repository at this point in the history
  • Loading branch information
haslersn committed Aug 18, 2023
1 parent f1a76e0 commit 9c87029
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ 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:

```
nix run github:numtide/nixos-anywhere -- --flake .#hetzner-cloud [email protected]
nix run github:numtide/nixos-anywhere -- --flake <flake URL> <SSH destination>
# Example:
# nix run github:numtide/nixos-anywhere -- --flake .#hetzner-cloud [email protected]
```

Note that this command references the URL of your flake, in this case `.#`,
Expand All @@ -205,7 +207,9 @@ need to make changes to the configuration in future, you should make the changes
in the flake, and rebuild using the --flake option as shown below:

```
nixos-rebuild --flake <flake URL> switch
nixos-rebuild --flake <flake URL> --target-host <SSH destination> switch
# Example:
# nixos-rebuild --flake .#hetzner-cloud --target-host [email protected] switch
```

The [Quickstart Guide](./docs/quickstart.md) gives more information on how to
Expand Down

0 comments on commit 9c87029

Please sign in to comment.