Merge pull request #10580 from bam80/patch-1

Update installing-binary.md: give TTY to the installer
This commit is contained in:
Eelco Dolstra 2024-04-22 11:17:39 +02:00 committed by GitHub
commit 790202232c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,7 +50,7 @@ Supported systems:
To explicitly instruct the installer to perform a multi-user installation on your system: To explicitly instruct the installer to perform a multi-user installation on your system:
```console ```console
$ curl -L https://nixos.org/nix/install | sh -s -- --daemon $ bash <(curl -L https://nixos.org/nix/install) --daemon
``` ```
You can run this under your usual user account or `root`. You can run this under your usual user account or `root`.
@ -61,7 +61,7 @@ The script will invoke `sudo` as needed.
To explicitly select a single-user installation on your system: To explicitly select a single-user installation on your system:
```console ```console
$ curl -L https://nixos.org/nix/install | sh -s -- --no-daemon $ bash <(curl -L https://nixos.org/nix/install) --no-daemon
``` ```
In a single-user installation, `/nix` is owned by the invoking user. In a single-user installation, `/nix` is owned by the invoking user.