I was recently traveling with a M1 MacBook, and had a 20W solar panel + a 24Ah power bank for charging. Worked like a treat for coding.
I need to investigate if USB-C car charger adapters can charge a MacBook. When traveling with a car and the sun doesn't shine, it would be a nice backup solution. I was basically living in a car + tent for four weeks, traveling and working.
https://www.nytimes.com/wirecutter/reviews/best-usb-car-char...
https://www.bluettipower.com.au/collections/portable-power-s...