aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/command-ref/files
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2023-04-26 10:56:35 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2023-04-26 15:39:02 +0200
commita1c996dc7ea32563605c75eae6c209786ac3b9b2 (patch)
treebb16244b1f95519248f60220af0de607e3bf0217 /doc/manual/src/command-ref/files
parentaee5e82b42caf7bdcbf452946620aede05309f15 (diff)
list information regular users first
this is to make it consistent everywhere
Diffstat (limited to 'doc/manual/src/command-ref/files')
-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.