There you go. Use 24.11 instead.
sudo nix-channel --add https://nixos.org/channels/nixos-24.11 nixos
sudo nix-channel --update
Then rebuild.
You’ll want to do this (replacing 24.11 with the actual current release) every 6 months (every June and December), or you’ll stop getting updates. For example, at the end of May (so in a little over 2 months), you’ll want to switch to nixos-25.05.