aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/src')
-rw-r--r--doc/manual/src/command-ref/files/channels.md2
-rw-r--r--doc/manual/src/command-ref/files/user-profiles.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/src/command-ref/files/channels.md b/doc/manual/src/command-ref/files/channels.md
index 6ef2527e5..2d1c2c160 100644
--- a/doc/manual/src/command-ref/files/channels.md
+++ b/doc/manual/src/command-ref/files/channels.md
@@ -2,8 +2,8 @@
A directory containing symlinks to Nix channels, managed by [`nix-channel`].
-- `$NIX_STATE_DIR/profiles/per-user/root/channels` for `root`
- `$XDG_STATE_HOME/nix/profiles/channels` for regular users
+- `$NIX_STATE_DIR/profiles/per-user/root/channels` for `root`
[`nix-channel`] uses a [profile](@docroot@/command-ref/files/user-profiles.md) to store channels.
This profile contains symlinks to the contents of those channels.
diff --git a/doc/manual/src/command-ref/files/user-profiles.md b/doc/manual/src/command-ref/files/user-profiles.md
index f3d28266a..c054a7808 100644
--- a/doc/manual/src/command-ref/files/user-profiles.md
+++ b/doc/manual/src/command-ref/files/user-profiles.md
@@ -2,8 +2,8 @@
A directory that contains links to user profiles managed by [`nix-env`] and [`nix profile`].
+- `$XDG_STATE_HOME/nix/profiles` for regular users
- `$NIX_STATE_DIR/profiles/per-user/root` if the user is `root`
-- `$XDG_STATE_HOME/nix/profiles` otherwise
A profile is a directory of symlinks to files in the Nix store.