A nanoflower-like polypyrrole-based cobalt-nickel sulfide hybrid heterostructures with electrons migration to boost overall water splitting.