nixos: docs: note that channels are per user

This commit is contained in:
David Terry 2016-12-07 09:06:25 +01:00 committed by Jörg Thalheim
parent 8d18d06e3c
commit f067bca841
1 changed files with 5 additions and 0 deletions

View File

@ -101,6 +101,11 @@ channel by running
which is equivalent to the more verbose <literal>nix-channel --update
nixos; nixos-rebuild switch</literal>.</para>
<note><para>Channels are set per user. This means that running <literal>
nix-channel --add</literal> as a non root user (or without sudo) will not
affect configuration in <literal>/etc/nixos/configuration.nix</literal>
</para></note>
<warning><para>It is generally safe to switch back and forth between
channels. The only exception is that a newer NixOS may also have a
newer Nix version, which may involve an upgrade of Nixs database