From a1c996dc7ea32563605c75eae6c209786ac3b9b2 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Wed, 26 Apr 2023 10:56:35 +0200 Subject: list information regular users first this is to make it consistent everywhere --- doc/manual/src/command-ref/files/channels.md | 2 +- 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. -- cgit v1.2.3