Channels
A directory containing symlinks to Nix channels, managed by nix-channel:
$XDG_STATE_HOME/nix/profiles/channelsfor regular users$NIX_STATE_DIR/profiles/per-user/root/channelsforroot
nix-channel uses a profile 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/channelsifuse-xdg-base-directoriesis set totrue
in the following format:
<url> <name>
...