Think about it this way,
for Sn2, nucleophilicity increases going down the periodic table a large anion (I) will react fastest bc theres not that many solvent molecules surrounding the anion, as opposed to F, which is very small, so there are alot of interacting solvents around it.
In General, solvation weakens the nucleophile and smaller anions are more tightly solvate than larger ones.
Thats why you have aprotic solvent in Sn2
For Sn1, polar solvents accelerate the reaction bc the polar solvent stabilizes the transition state, leading to formation of carbocation.
So SN2: aprotic (nucleophile)
SN1: protic (carbocation formation)
someone please correct me if theres a misunderstanding