Introduction
NixOS released version 25.05 Warbler on May 23rd. The previous version was 24.11, so today I decided to upgrade my system.
Steps
First, edit the configuration file:
vim /etc/nixos/configuration.nix
Change system.stateVersion
to 25.05:
system.stateVersion = "25.05";
Then add the 25.05 release channel:
nix-channel --add https://channels.nixos.org/nixos-25.05 nixos
Finally, perform the upgrade:
nixos-rebuild switch --upgrade
Configure Automatic Updates
I prefer scheduled updates, so let’s configure NixOS for automatic upgrades.
Edit the configuration file:
vim /etc/nixos/configuration.nix
Add the following lines:
system.autoUpgrade.enable = true;
system.autoUpgrade.allowReboot = false;
Finally, apply the changes:
nixos-rebuild switch
Feel free to follow my blog at www.bboy.app
Have Fun