Skip to content

Commit

Permalink
README: recommend safer curl options
Browse files Browse the repository at this point in the history
Force HTTPS and TLS v1.2 (or later) connections, and also be quiter.
  • Loading branch information
cole-h committed Jan 18, 2023
1 parent 3f7366d commit b691969
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


```bash
curl -L https://install.determinate.systems/nix | sh -s -- install
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
```

## Status
Expand Down Expand Up @@ -50,7 +50,7 @@ So far, our explorations have been quite fruitful, so we wanted to share and kee
Install Nix with the default planner and options:

```bash
curl -L https://install.determinate.systems/nix | sh -s -- install
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
```

Or, to download a platform specific Installer binary yourself:
Expand Down Expand Up @@ -112,7 +112,7 @@ Options:
Planners can be configured via environment variable or command arguments:
```bash
$ curl -L https://install.determinate.systems/nix | NIX_BUILD_USER_COUNT=4 sh -s -- install linux-multi --nix-build-user-id-base 4000
$ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | NIX_BUILD_USER_COUNT=4 sh -s -- install linux-multi --nix-build-user-id-base 4000
# Or...
$ NIX_BUILD_USER_COUNT=4 ./nix-installer install linux-multi --nix-build-user-id-base 4000
```
Expand Down

0 comments on commit b691969

Please sign in to comment.