I followed the steps in Upgrading NixOS
From the get go it seemed weird because the nix-channel --list | grep nixos
didn’t give me anything. nix-channel --list
only gave me home-manager and plasma-manager channels. sudo nix-channel --list
did give me the 24.11 channel.
Steps I performed to upgrade:
nix-channel --add https://channels.nixos.org/nixos-25.05 nixos
nixos-rebuild switch --upgrade
- After reboot
/etc/os-realease
shows 24.11 and pacakages that should’ve been upgraded are not nix-channel --remove nixos
sudo nix-channel --add https://channels.nixos.org/nixos-25.05 nixos
nixos-rebuild switch --upgrade
- After reboot
/etc/os-realease
shows 24.11 and pacakages that should’ve been upgraded are not nix-channel --add https://channels.nixos.org/nixos-25.05 nixos
nixos-rebuild switch --upgrade
- After reboot
/etc/os-realease
shows 24.11 and pacakages that should’ve been upgraded are not
So at this point I have…
> nix-channel --list
home-manager https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz
nixos https://channels.nixos.org/nixos-25.05
plasma-manager https://github.com/nix-community/plasma-manager/archive/trunk.tar.gz
> sudo nix-channel --list
nixos https://channels.nixos.org/nixos-25.05
But nothing seems to have actually upgraded
Output of nixos-rebuild switch --upgrade --use-remote-sudo
unpacking 3 channels...
building Nix...
building the system configuration...
activating the configuration...
setting up /etc...
reloading user units for [myuser]...
restarting sysinit-reactivation.target
the following new units were started: run-credentials-systemd\x2dtmpfiles\x2dresetup.service.mount, sysinit-reactivation.target, systemd-tmpfiles-resetup.service