About me: My name is Solène Rapenne, pronouns she/her. I like learning and sharing knowledge. Hobbies: '(BSD OpenBSD Lisp cmdline gaming internet-stuff). I love percent and lambda characters. OpenBSD developer solene@.

Contact me: solene on Freenode, solene+www at dataswamp dot org or @solene@bsd.network (mastodon). If for some reason you want to give me some money, I accept paypal at the address donate@perso.pw.

How to switch to NixOS development version

Written by Solène, on 17 May 2021.
Tags: #nixos

Comments on Mastodon

This short guide will explain you how to switch a NixOS installation to the unstable channel, understand the development version.

nix-channel --add https://channels.nixos.org/nixos-unstable nixos

You will have to reload the channel list using the command "nix-channel --update" and then you can upgrade your system using "nixos-rebuild switch".

If you have issues, you can rollback using "nix-channel --rollback" that will set the channels list to the last state before "--update".

Nix channels wiki page

Nix-channel man page