I had this same thought and mentioned it on an ArsTechnica forum. There was reply that suggested that lunar regolith wouldn't be a good heat sink and a bit of googling makes me think this is probably true.
That said anything has to be better then almost literally nothing so I'm still holding out for datacenters on the moon.