As explained in the upgrade guide section , if you run the following command as root:
nix-channel --list
you will most likely see something like the following (if, for example, you were following the 16.09 branch):
nixos https://nixos.org/channels/nixos-16.09
By issuing the following command (still as root):
nix-channel --add https:
you remove the channel 16.09 and replace it with nixos-unstable.
. , :
nixos-rebuild switch --upgrade
, .