list information regular users first

this is to make it consistent everywhere
This commit is contained in:
Valentin Gagarin 2023-04-26 10:56:35 +02:00
parent aee5e82b42
commit a1c996dc7e
2 changed files with 2 additions and 2 deletions

View file

@ -2,8 +2,8 @@
A directory containing symlinks to Nix channels, managed by [`nix-channel`]. 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 - `$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. [`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. This profile contains symlinks to the contents of those channels.

View file

@ -2,8 +2,8 @@
A directory that contains links to user profiles managed by [`nix-env`] and [`nix profile`]. 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` - `$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. A profile is a directory of symlinks to files in the Nix store.