Yes, I meant gas. And using renewables for farming is only a partial solution. Farming can be extremely energy intensive or less so depending on the methods used.
Animal farming is more than order of magnitude worse.
A lot of industrial farming developed that way due to access to cheap energy - but this is not sustainable.