mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
eb7d7780b1
This is needed to avoid this https://github.com/mesonbuild/meson/issues/13774 when we go back to making our subproject directory `src`.
26 lines
748 B
Markdown
26 lines
748 B
Markdown
## Channels
|
|
|
|
A directory containing symlinks to Nix channels, managed by [`nix-channel`]:
|
|
|
|
- `$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/profiles.md) to store channels.
|
|
This profile contains symlinks to the contents of those channels.
|
|
|
|
## Subscribed channels
|
|
|
|
The list of subscribed channels is stored in
|
|
|
|
- `~/.nix-channels`
|
|
- `$XDG_STATE_HOME/nix/channels` if [`use-xdg-base-directories`] is set to `true`
|
|
|
|
in the following format:
|
|
|
|
```
|
|
<url> <name>
|
|
...
|
|
```
|
|
|
|
[`nix-channel`]: @docroot@/command-ref/nix-channel.md
|
|
[`use-xdg-base-directories`]: @docroot@/command-ref/conf-file.md#conf-use-xdg-base-directories
|