diff options
author | Jakub Kuczys <me@jacken.men> | 2022-08-20 03:48:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 03:48:42 +0200 |
commit | 7d800909e94c482a2093bc95a2f3dca565c148b2 (patch) | |
tree | f7216ee21d6ae60d15bb0d7b41f74440df0e6fde /src | |
parent | d5e979ab87ab894fde132799dac242780b28bc05 (diff) |
Fix default profile path for root in nix profile documentation
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/profile.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/profile.md b/src/nix/profile.md index 8dade051d..be3c5ba1a 100644 --- a/src/nix/profile.md +++ b/src/nix/profile.md @@ -11,7 +11,7 @@ them to be rolled back easily. The default profile used by `nix profile` is `$HOME/.nix-profile`, which, if it does not exist, is created as a symlink to -`/nix/var/nix/profiles/per-user/default` if Nix is invoked by the +`/nix/var/nix/profiles/default` if Nix is invoked by the `root` user, or `/nix/var/nix/profiles/per-user/`*username* otherwise. You can specify another profile location using `--profile` *path*. |