How does smoking preserve kippers?

the reason smoking preserves kippers is because smoke contains nitrates which kill the bacteria, therefor preserving it.

Not quite. First the herring is put in a brine solution for a while. This draws out much of the water content. The smoking part does create nitrates but nitrates do not cure. The nitrates get converted to nitrites which is the actual curing agent.