Upgrading to NixOS 24.05
This command shows what channel you are currently on.
sudo nix-channel --list
This command will change your system channel to 24.05.
sudo nix-channel --add https://channels.nixos.org/nixos-24.05 nixos
The last command you will need to run will be. This command will perform the upgrade itself.
sudo nixos-rebuild switch --upgrade
To upgrade all packages installed via Flatpak.
sudo flatpak update -y
To run everything at once.
sudo nix-channel --add https://channels.nixos.org/nixos-24.05 nixos && sudo nixos-rebuild switch --upgrade && sudo flatpak update -y