← Home

Upgrading NixOS so that it uses a different channel is simple.When you run the following command as root:

nix-channel --list

You should see a list of channels. If you did not touch channels so far, you should see this:

nixos https://nixos.org/channels/nixos-21.05

By running the following command (as root):

nix-channel --add https://nixos.org/channels/[channel version] nixos

you will remove the 21.05 channel and replace it with [channel version].

To apply the change, you need to run the following command:

nixos-rebuild switch --upgrade

which is going to rebuild your system with your current configuration and updated packages from the channel you switched to.

← Home

Erben Systems GmbH

Watterstrasse 81, c/o Sarbach Treuhand AG, 8105 Regensdorf, Switzerland

CHE-174.268.027 MwSt