diff options
author | Valentin Gagarin <valentin.gagarin@tweag.io> | 2023-04-26 10:56:35 +0200 |
---|---|---|
committer | Valentin Gagarin <valentin.gagarin@tweag.io> | 2023-04-26 15:39:02 +0200 |
commit | a1c996dc7ea32563605c75eae6c209786ac3b9b2 (patch) | |
tree | bb16244b1f95519248f60220af0de607e3bf0217 /doc/manual/src/command-ref/files | |
parent | aee5e82b42caf7bdcbf452946620aede05309f15 (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.md | 2 | ||||
-rw-r--r-- | doc/manual/src/command-ref/files/user-profiles.md | 2 |
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. |