Ni2++4CN→[Ni(CN)4]2−
Here, Ni2+ has d8-configuration with CN−as strong ligand. d8-configuration in strong ligand field gives dsp2-hybridisation, hence square planar geometry. Ni2++4Cl−⟶[NiCl4]2−
Here, Ni2+ has d8-configuration with Cl−as weak ligand. d8-configuration in weak ligand field gives sp3-hybridisation, hence tetrahedral geometry. Ni2+ with H2O forms [Ni(H2O)6]2+ complex and H2O is a weak ligand.
Therefore, [Ni(H2O)6]2+ has octahedral geometry.