One man who was a farmer had put in a solar greenhouse. 50% of it survived. Solar might be the way to go....but of course not totally.
Solar is expensive.
Batteries are bad.
OTOH, on a sunny day there may be no need to burn fuel to generate a subsistence level of electricity.
PS, I have a few “portable” solar panels to help with backup power.