mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
docs: explain provenance of default nix-path
values
this should make it more obvious how things are related to each other, and also hopefully expose the historical context without having to say on every corner that these details are accounting for legacy decisions.
This commit is contained in:
parent
668d63d8dd
commit
17655ecfef
1 changed files with 10 additions and 1 deletions
|
@ -87,10 +87,19 @@ struct EvalSettings : Config
|
||||||
If the respective paths are accessible, the default values are:
|
If the respective paths are accessible, the default values are:
|
||||||
|
|
||||||
- `$HOME/.nix-defexpr/channels`
|
- `$HOME/.nix-defexpr/channels`
|
||||||
|
|
||||||
|
The [user channel link](@docroot@/command-ref/files/default-nix-expression.md#user-channel-link), pointing to the current state of [channels](@docroot@/command-ref/files/channels.md) for the current user.
|
||||||
|
|
||||||
- `nixpkgs=$NIX_STATE_DIR/profiles/per-user/root/channels/nixpkgs`
|
- `nixpkgs=$NIX_STATE_DIR/profiles/per-user/root/channels/nixpkgs`
|
||||||
|
|
||||||
|
The current state of the `nixpkgs` channel for the `root` user.
|
||||||
|
|
||||||
- `$NIX_STATE_DIR/profiles/per-user/root/channels`
|
- `$NIX_STATE_DIR/profiles/per-user/root/channels`
|
||||||
|
|
||||||
See [`NIX_STATE_DIR`](@docroot@/command-ref/env-common.md#env-NIX_STATE_DIR) for details.
|
The current state of all channels for the `root` user.
|
||||||
|
|
||||||
|
These files are set up by the [Nix installer](@docroot@/installation/installing-binary.md).
|
||||||
|
See [`NIX_STATE_DIR`](@docroot@/command-ref/env-common.md#env-NIX_STATE_DIR) for details on the environment variable.
|
||||||
|
|
||||||
> **Note**
|
> **Note**
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue