It would be a mining operation.
To reduce transportation costs, I would think that you would want to find a place where solar energy and accessible ice were not too far from each other.
Regarding Martian nuclear power - in the long run, I suspect it's inevitable. But consider this:
Our first Martian voyages have been and will continue to be powered by devices that we carry to Mars. In the midterm, we can expect that there will be a transition to mix of made-on-Earth/made-on-Mars so that interplanetary transport costs can be brought to a minimum.
So how much MWe worth of Nuclear Power plant could we ship?
You might look at the
BWRX-300 currently in development. It would produce 300MWe (Megawatts electric), but note that it is still a building - and a big heavy building at that. The reactor vessel alone is comparable in size to any of SpaceX's Star ship stages and is much heavier. It's not clear whether that reactor can be parsed up and reassembled on Mars. Much of what's in the reactor building would also be made-on-Earth, but the building would absolutely need to be made-on-Mars.
Nuclear power will be competing with solar power. When looking at solar panel ratings, "AM0" refers to solar conditions in Earth orbit - outside of our atmosphere. Mars average distance from the Sun is 50% greater than Earth's (almost exactly), so applying the inverse square law, Martian solar power will be about 44% of AM0 conditions. That said, look at
this SprectroLab solar cell data sheet. Per this datasheet, their AM0 "bare cell" power is 1.353 Kw/M², so under Martian mid-day conditions, it should produce about 595w/M².
The weight of these cells is specified as: "84 mg/cm² (Bare) @ 140 μm (5.5 mil) Ge wafer thickness".
Assuming we build the conductors and solar support structures from Martian resources, this gives us 840g/M² and a power to transport weight ratio of 0.71w/g. If we still wanted 300MWe, it would have a mass of about 423Mg or 423 metric tonnes. This would be about 4 ship-fulls using the
SpaceX Starship system with Earth orbit refueling. You wouldn't be getting the 24-hour availability of power that nuclear provides, but this is doable and the mining can be done in daylight.