Nuking all the major population centers would pretty much destroy the ability of Ukraine to manufacture weapons in any meaningful number and it would also deprive its army of any new soldiers, no reinforcements, no food supplies and so on. I think it will change the course of the war pretty fast and pretty drastically.