···
<para><emphasis>Stable channels</emphasis>, such as <literal
18
-
xlink:href="https://nixos.org/channels/nixos-14.12">nixos-14.12</literal>.
18
+
xlink:href="https://nixos.org/channels/nixos-17.03">nixos-17.03</literal>.
These only get conservative bug fixes and package upgrades. For
instance, a channel update may cause the Linux kernel on your
21
-
system to be upgraded from 3.4.66 to 3.4.67 (a minor bug fix), but
22
-
not from 3.4.<replaceable>x</replaceable> to
23
-
3.11.<replaceable>x</replaceable> (a major change that has the
21
+
system to be upgraded from 4.9.16 to 4.9.17 (a minor bug fix), but
22
+
not from 4.9.<replaceable>x</replaceable> to
23
+
4.11.<replaceable>x</replaceable> (a major change that has the
potential to break things). Stable channels are generally
maintained until the next stable branch is created.</para>
···
<para><emphasis>Small channels</emphasis>, such as <literal
37
-
xlink:href="https://nixos.org/channels/nixos-14.12-small">nixos-14.12-small</literal>
37
+
xlink:href="https://nixos.org/channels/nixos-17.03-small">nixos-17.03-small</literal>
xlink:href="https://nixos.org/channels/nixos-unstable-small">nixos-unstable-small</literal>. These
are identical to the stable and unstable channels described above,
···
<para>When you first install NixOS, you’re automatically subscribed to
the NixOS channel that corresponds to your installation source. For
58
-
instance, if you installed from a 14.12 ISO, you will be subscribed to
59
-
the <literal>nixos-14.12</literal> channel. To see which NixOS
58
+
instance, if you installed from a 17.03 ISO, you will be subscribed to
59
+
the <literal>nixos-17.03</literal> channel. To see which NixOS
channel you’re subscribed to, run the following as root:
···
(Be sure to include the <literal>nixos</literal> parameter at the
74
-
end.) For instance, to use the NixOS 14.12 stable channel:
74
+
end.) For instance, to use the NixOS 17.03 stable channel:
77
-
# nix-channel --add https://nixos.org/channels/nixos-14.12 nixos
77
+
# nix-channel --add https://nixos.org/channels/nixos-17.03 nixos
If you have a server, you may want to use the “small” channel instead:
83
-
# nix-channel --add https://nixos.org/channels/nixos-14.12-small nixos
83
+
# nix-channel --add https://nixos.org/channels/nixos-17.03-small nixos
And if you want to live on the bleeding edge:
···
specify a channel explicitly, e.g.
133
-
system.autoUpgrade.channel = https://nixos.org/channels/nixos-15.09;
133
+
system.autoUpgrade.channel = https://nixos.org/channels/nixos-17.03;