I believe this option is supposed to be set to a channel url, not a floating point number. If you know that and just didn’t want to type the full thing, that’s fine, but maybe indicate that more clearly with something like ... next time?
Did the nixos-rebuild command actually succeed? Did you run it as root?
Most importantly, did you run the nix-channel command as root? If you run it as your user it doesnt complain, but affects your user channels instead of root’s channels (which is what nixos-rebuild will be using).
Check both nix-channel --list and sudo nix-channel --list and see what they say.