Solar needs active maintenance, including personnel of varying skills. All projects have ongoing costs, especially if they're gonna sit outside in the weather.
Better to just compare all costs, across the projected lifespan, and compare replacement costs if one source lasts longer than the other.
Doing all that tends to show that building new nuclear isn't cost competitive. Not big reactors, not small reactors.