NixOS 26.05 stops getting fixes on 31 December. Here's the upgrade to 26.11, carefully
If you've got a NixOS box running 26.05, it stops getting bugfixes and security updates on 31 December 2026. The next release, 26.11 "Zokor", is due at the end of November. Switching takes two commands. The part that takes an evening is reading the release notes against your own config, and on a homelab server that reading is most of the job.
The dates
The 26.05 release announcement from 30 May said the release "will receive bugfixes and security updates for seven months (up until 2026-12-31)". That's the normal NixOS rhythm: two releases a year, and each one overlaps the next by about a month so you've got time to move.
For 26.11, the Zero Hydra Failures post of 7 November (the stabilisation push before every release) gives a planned release date of 30 November. At the time of writing, the nixos-26.11 channel at channels.nixos.org still points at a beta build, and the 26.11 release notes still have "2026.11/??" where the date goes. So if you're reading this on the 29th, give it a day or two. If you're reading it in December, it's out, and you've got about a month.
Honestly, I wouldn't upgrade a server in week one anyway. Let other people find the rough edges in the first couple of weeks, then move well before New Year's Eve. Nobody wants to be doing this on the 31st.
Step one: read the backward incompatibilities against your config
This is the step people skip, and it's the one that matters. NixOS will happily tell you about removed options when you build. It won't tell you that an app's data format changed, or that a service now refuses connections it used to accept.
Open the backward incompatibilities section and search it for every services. name in your configuration.nix. It's a long list. A few entries in the current draft stand out for a typical homelab box:
- Podman 6. Per the notes, iptables support is gone (nftables only), slirp4netns is gone (pasta only), and DNS in custom networks no longer works for rootful containers unless there's a matching firewall rule, if you're on the iptables or nftables firewall backend. The notes recommend upgrading with
nixos-rebuild bootand rebooting, so the BoltDB migration finishes and stale iptables rules get dropped. Containers started with--initneed recreating. - ACME certificates.
security.acmemoves to lego 5.x. Account state migrates automatically. If you pass raw lego flags throughextraLegoFlagsor friends, those need updating, anddnsPropagationCheckhas been split into two separate options. - Gitea 28.
services.gitea.settings.server.ROOT_URLmust now be set, and self-registration is off by default. - paperless-ngx 3.0. The search index is rebuilt on first start, which the notes warn can take a while for big document sets. An external database now needs an explicit
PAPERLESS_DBENGINE. - FreshRSS now blocks feeds on local and private networks by default, so a feed coming from something like RSS-Bridge on your LAN will stop updating until you allow it with
services.freshrss.internalHostAllowlist. - PostgreSQL 14 has been removed, and GitLab 19 needs PostgreSQL 17 or newer. If either applies, sort out the database upgrade first.
That's a selection, not the list. The notes are still being edited until release day, so do this reading against the final version, not a cached one.
Step two: leave system.stateVersion alone
Some new defaults in 26.11 are tied to system.stateVersion. New installs with a stateVersion of 26.11 or later get PostgreSQL 18 by default, for example. That's exactly why you don't bump it on an existing machine.
The option's documentation is blunt: "Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release." It records what version you first installed, so existing databases keep the versions they were created with. It doesn't control which release you're running. A low number doesn't mean you're out of date, and changing it won't upgrade anything.
Step three: switch the channel
Everything here comes from the Upgrading NixOS section of the current manual. Run these as root in a login shell (sudo -i). The manual points out that channels are per user, and plain sudo keeps your own $HOME, so you'd be looking at the wrong user's channels.
Check what you're subscribed to:
# nix-channel --list | grep nixos
Point the nixos channel at 26.11 (don't drop the nixos on the end):
# nix-channel --add https://channels.nixos.org/nixos-26.11 nixos
On a server you can use nixos-26.11-small instead. Per the manual, the small channels update faster after security fixes but carry fewer pre-built binaries, so expect more building from source.
Before switching, do a dry run. nixos-rebuild build builds the new configuration and does nothing else, which is how you find out about removed options while your running system stays untouched:
# nix-channel --update nixos
# nixos-rebuild build
If that builds cleanly, apply it. nixos-rebuild switch --upgrade is the manual's one-liner (it's the same as updating the channel and then running nixos-rebuild switch). If you run Podman, or you'd rather the change land on a reboot you control, use nixos-rebuild boot instead and restart when it suits you.
If you use flakes, the channel commands don't apply. Change your nixpkgs input to the 26.11 branch and update the lock file with nix flake update nixpkgs (Nix manual). One related note from the release notes: the nixexprs.tar.xz channel tarball is being discontinued after 2027-12-31, so if your input URL ends in .tar.xz, now's a good time to change it to .tar.zst.
If it goes wrong
This is the nice bit about NixOS, and it's why I'd still rate it as a homelab OS despite the reading involved. The manual's rollback section gives you two outs. Any previous configuration that hasn't been garbage-collected is in the boot menu, which covers the case where the new one doesn't boot at all. On a running system you can go straight back:
# nixos-rebuild switch --rollback
Two caveats worth knowing. First, rolling back the system doesn't roll back application data. If paperless rebuilt its index or a database ran a migration, that's already happened, which is why backups come before the upgrade, not after. Second, the manual warns that a newer NixOS can bring a newer Nix with a database schema change that "cannot be undone easily". NixOS 26.11 ships Nix 2.35, per the release notes. Switching channels back and forth is otherwise safe.
Also, hold off on garbage collection for a week or so after upgrading. Collecting old generations is how you lose the ones you'd roll back to.
Is it worth the faff?
Yes, and the boring way is the right way here. Read the incompatibilities, leave stateVersion alone, build before you switch, have a backup. That's maybe an evening for a typical homelab server, less for a desktop. I have not run 26.11 myself, so treat the list above as a pointer to the official notes rather than a replacement for them. If you've got automatic upgrades turned on with system.autoUpgrade.channel pinned to nixos-26.05, remember that won't move by itself. Change that line too, or that box will quietly sit on an unsupported release from January.