diff options
author | Graham Christensen <graham@grahamc.com> | 2022-08-08 15:46:17 -0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2022-08-10 09:37:08 -0400 |
commit | 7bb1e913b33499d3ce74929749977774bcc35aed (patch) | |
tree | 1196f0da21fdbb87be2ffb56f1360e254c58318e /doc/manual | |
parent | 88a0f3b6bace3a17b69dfb799494d78aae0dd71d (diff) |
Don't prompt about using sudo if we're already root
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/src/installation/installing-binary.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual/src/installation/installing-binary.md b/doc/manual/src/installation/installing-binary.md index 18fc8fff5..a46735196 100644 --- a/doc/manual/src/installation/installing-binary.md +++ b/doc/manual/src/installation/installing-binary.md @@ -31,8 +31,8 @@ $ sh <(curl -L https://nixos.org/nix/install) --no-daemon ``` This will perform a single-user installation of Nix, meaning that `/nix` -is owned by the invoking user. You should run this under your usual user -account, *not* as root. The script will invoke `sudo` to create `/nix` +is owned by the invoking user. You can run this under your usual user +account or root. The script will invoke `sudo` to create `/nix` if it doesn’t already exist. If you don’t have `sudo`, you should manually create `/nix` first as root, e.g.: @@ -71,7 +71,7 @@ $ sh <(curl -L https://nixos.org/nix/install) --daemon The multi-user installation of Nix will create build users between the user IDs 30001 and 30032, and a group with the group ID 30000. You -should run this under your usual user account, *not* as root. The script +can run this under your usual user account or root. The script will invoke `sudo` as needed. > **Note** |