-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README: fix rebuild instructions by adding --target-host
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 `.#`, | ||
|
@@ -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 | ||
|