NixOS channels
Richard Mortier · December 13, 2023 · #old #linux #nixosI don’t pretend to understand NixOS configuration fully yet, what with Flakes and channels and so forth. But I did find the following usful to setup channels consistently so that I could have a single config that used both.
…ultimately resulting in:
Upgrading to the latest release is then something like:
…and finally, garbage collecting old versions once you’re satisfied the new one works:
And yes, some of the incantations above might be a little cargo-cultish and not strictly necessary. But at various points they’ve seemed necessary to me, and now they’re in my shell history, they’re what I got.