Colloidal-quantum-dot (CQD) optoelectronics offer a compelling combination of solution processing and spectral tunability through quantum size effects. So far, CQD solar cells have relied on the use of organic ligands to passivate the surface of the semiconductor nanoparticles. Although inorganic metal chalcogenide ligands have led to record electronic transport parameters in CQD films, no photovoltaic device has been reported based on such compounds. Here we establish an atomic ligand strategy that makes use of monovalent halide anions to enhance electronic transport and successfully passivate surface defects in PbS CQD films. Both time-resolved infrared spectroscopy and transient device characterization indicate that the scheme leads to a shallower trap state distribution than the best organic ligands. Solar cells fabricated following this strategy show up to 6% solar AM1.5G power-conversion efficiency. The CQD films are deposited at room temperature and under ambient atmosphere, rendering the process amenable to low-cost, roll-by-roll fabrication.