Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: fix rebuild instructions by adding --target-host #181

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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