Keeping humans alive on Mars would require nuclear power sources much larger then any that have been flung into space so far.
If you are thinking of solar power then consider than the watts per square meter is about 40% of that on earth, that a big pile of batteries would be needed as well and how much work it would be to maintain a huge solar farm.