Geneva Convention 1977 Protocols:
“It is prohibited to attack, destroy, remove or render useless objects indispensable to the survival of the civilian population, such as... drinking #water installations & supplies and irrigation works... for any other motive.”
https://www.tribuneindia.com/news/world/blatant-and-desperate-crime-irans-fm-condemns-us-attack-on-qeshms-freshwater-desalination-plant-warns-of-grave-consequences/
Blatant and desperate crime: Irans FM condemns US attack on Qeshms freshwater desalination plant, warns of grave consequences - The Tribune

In a post on X, Araghchi emphasised that the US has set a dangerous precedent by targeting Iran's infrastructure.

The Tribune

@petergleick

It's the Gaza playbook. Destroy everything that makes civilian life possible. Trump and Netanyahu are war criminals.