I meant a diesel generator in a residential building. The refineries stay centralized somewhere safe (not a problem in Ukraine's case).
If its the latter, how is your idea decentralized fossil fuel? You are using the same fossil fuel supply chain as it exists today.
For decentralized, you need an oil well in your backyard, and a refinery. THEN a diesel generator, if you want electricity.
[1] Assuming you have enough cows