How to produce antinuclei from dark matter