We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44e8a43 + 8e4a684 commit cfd9d36Copy full SHA for cfd9d36
README.md
@@ -46,7 +46,7 @@ nix run github:numtide/nixos-anywhere -- root@yourip --flake github:your-user/yo
46
The parameter passed to `--flake` should point to your nixos configuration
47
exposed in your flake (`nixosConfigurations.your-system` in the example above).
48
49
-<!-- `$ ./src/nixos-anywhere.sh --help` -->
+<!-- `$ bash ./src/nixos-anywhere.sh --help` -->
50
```
51
Usage: nixos-anywhere [options] ssh-host
52
src/nixos-anywhere.sh
@@ -1,3 +1,6 @@
1
+#!/usr/bin/env bash
2
+set -euo pipefail
3
+
4
showUsage() {
5
cat <<USAGE
6
0 commit comments