Acts aimed to “ attack, destroy, remove or render useless" objects indispensable to the survival of the civilian population, including “drinking water installations and supplies and irrigation works" devices (e.g. reservoirs or dams) are banned and a war crime under the 4th Geneva Convention (1949).
Probably not a consideration if you decide to throw nukes around, but below that threshold....