solar augmented powersupply
Yes, a diode is what you need, preferably a Schottky since presumably the voltages are low.

You do have to pick a DC power supply with just the right voltage.  This should be the lowest voltage your solar charger/regulator can handle.  You want the power to come from the solar cell when it has sufficient illumination, so the power supply voltage needs to be lower.