README: suggest the use of the packaged script

Without this change users will be running the script directly and might encounter errors as they are using the script unpackaged without its dependencies.
This commit is contained in:
Ilan Joselevich 2023-01-11 01:04:57 +02:00 committed by GitHub
parent e518219f45
commit 20ec3cb645
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ our [example](https://github.com/numtide/nixos-remote-examples/blob/9768e438b146
Afterwards you can just run:
```
./nixos-remote root@yourip --flake github:your-user/your-repo#your-system
nix run github:numtide/nixos-remote -- root@yourip --flake github:your-user/your-repo#your-system
```
The parameter passed to `--flake` should point to your nixos configuration