If you sell oil of 10 billion and you import of 10 billion and once cent you're a net importer, that's the definition, if imports outweigh exports you're a net importer.
If you import energy then there is demand...
This is also limited:
https://www.cne.gob.sv/tema/energias-renovables-2/energia-geotermica/
The maximum installed capacity would be at around 800MW, that's not even two nuclear reactors, of course, they could try and cover the country with solar panels but...that works only during the day, miners need energy 24/7.
It's pretty simple, you can't depend on a country that produces 6twh a year to host at least 44twh. Only a large country with enough spare capacity can do it, that's why both Iran and Kazakhstan were caught off guard by a few tens of thousands of miners settling down, right now there are only three countries in the world that have enough spare capacity to host the entire hashrate, and it's a pretty normal and obvious thing.