Supersymmetry breaking and dark matter