|
|
@ -6,7 +6,7 @@ expressions and associated binaries. The NixOS channels are updated |
|
|
|
automatically from NixOS's Git repository after certain tests have |
|
|
|
automatically from NixOS's Git repository after certain tests have |
|
|
|
passed and all packages have been built. These channels are: |
|
|
|
passed and all packages have been built. These channels are: |
|
|
|
|
|
|
|
|
|
|
|
- *Stable channels*, such as [`nixos-21.05`](https://nixos.org/channels/nixos-21.05). |
|
|
|
- *Stable channels*, such as [`nixos-21.11`](https://nixos.org/channels/nixos-21.11). |
|
|
|
These only get conservative bug fixes and package upgrades. For |
|
|
|
These only get conservative bug fixes and package upgrades. For |
|
|
|
instance, a channel update may cause the Linux kernel on your system |
|
|
|
instance, a channel update may cause the Linux kernel on your system |
|
|
|
to be upgraded from 4.19.34 to 4.19.38 (a minor bug fix), but not |
|
|
|
to be upgraded from 4.19.34 to 4.19.38 (a minor bug fix), but not |
|
|
@ -19,7 +19,7 @@ passed and all packages have been built. These channels are: |
|
|
|
radical changes between channel updates. It's not recommended for |
|
|
|
radical changes between channel updates. It's not recommended for |
|
|
|
production systems. |
|
|
|
production systems. |
|
|
|
|
|
|
|
|
|
|
|
- *Small channels*, such as [`nixos-21.05-small`](https://nixos.org/channels/nixos-21.05-small) |
|
|
|
- *Small channels*, such as [`nixos-21.11-small`](https://nixos.org/channels/nixos-21.11-small) |
|
|
|
or [`nixos-unstable-small`](https://nixos.org/channels/nixos-unstable-small). |
|
|
|
or [`nixos-unstable-small`](https://nixos.org/channels/nixos-unstable-small). |
|
|
|
These are identical to the stable and unstable channels described above, |
|
|
|
These are identical to the stable and unstable channels described above, |
|
|
|
except that they contain fewer binary packages. This means they get updated |
|
|
|
except that they contain fewer binary packages. This means they get updated |
|
|
@ -38,8 +38,8 @@ newest supported stable release. |
|
|
|
|
|
|
|
|
|
|
|
When you first install NixOS, you're automatically subscribed to the |
|
|
|
When you first install NixOS, you're automatically subscribed to the |
|
|
|
NixOS channel that corresponds to your installation source. For |
|
|
|
NixOS channel that corresponds to your installation source. For |
|
|
|
instance, if you installed from a 21.05 ISO, you will be subscribed to |
|
|
|
instance, if you installed from a 21.11 ISO, you will be subscribed to |
|
|
|
the `nixos-21.05` channel. To see which NixOS channel you're subscribed |
|
|
|
the `nixos-21.11` channel. To see which NixOS channel you're subscribed |
|
|
|
to, run the following as root: |
|
|
|
to, run the following as root: |
|
|
|
|
|
|
|
|
|
|
|
```ShellSession |
|
|
|
```ShellSession |
|
|
@ -54,16 +54,16 @@ To switch to a different NixOS channel, do |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
(Be sure to include the `nixos` parameter at the end.) For instance, to |
|
|
|
(Be sure to include the `nixos` parameter at the end.) For instance, to |
|
|
|
use the NixOS 21.05 stable channel: |
|
|
|
use the NixOS 21.11 stable channel: |
|
|
|
|
|
|
|
|
|
|
|
```ShellSession |
|
|
|
```ShellSession |
|
|
|
# nix-channel --add https://nixos.org/channels/nixos-21.05 nixos |
|
|
|
# nix-channel --add https://nixos.org/channels/nixos-21.11 nixos |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
If you have a server, you may want to use the "small" channel instead: |
|
|
|
If you have a server, you may want to use the "small" channel instead: |
|
|
|
|
|
|
|
|
|
|
|
```ShellSession |
|
|
|
```ShellSession |
|
|
|
# nix-channel --add https://nixos.org/channels/nixos-21.05-small nixos |
|
|
|
# nix-channel --add https://nixos.org/channels/nixos-21.11-small nixos |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
And if you want to live on the bleeding edge: |
|
|
|
And if you want to live on the bleeding edge: |
|
|
@ -114,5 +114,5 @@ the new generation contains a different kernel, initrd or kernel |
|
|
|
modules. You can also specify a channel explicitly, e.g. |
|
|
|
modules. You can also specify a channel explicitly, e.g. |
|
|
|
|
|
|
|
|
|
|
|
```nix |
|
|
|
```nix |
|
|
|
system.autoUpgrade.channel = https://nixos.org/channels/nixos-21.05; |
|
|
|
system.autoUpgrade.channel = https://nixos.org/channels/nixos-21.11; |
|
|
|
``` |
|
|
|
``` |
|
|
|