From f067bca841e788cc744b285840b53d0610d57ddf Mon Sep 17 00:00:00 2001 From: David Terry Date: Wed, 7 Dec 2016 09:06:25 +0100 Subject: [PATCH] nixos: docs: note that channels are per user --- nixos/doc/manual/installation/upgrading.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/doc/manual/installation/upgrading.xml b/nixos/doc/manual/installation/upgrading.xml index 65d395b0c88e..c974523f886c 100644 --- a/nixos/doc/manual/installation/upgrading.xml +++ b/nixos/doc/manual/installation/upgrading.xml @@ -101,6 +101,11 @@ channel by running which is equivalent to the more verbose nix-channel --update nixos; nixos-rebuild switch. +Channels are set per user. This means that running +nix-channel --add as a non root user (or without sudo) will not +affect configuration in /etc/nixos/configuration.nix + + 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 Nix’s database