Compatibility summary
You will need a travel adapter in Nigeria; plug types used there differ from Switzerland.
Plug comparison
Switzerland plug types: C J
Nigeria plug types: G
There is no common plug type between Switzerland (C J) and Nigeria (G). You need a travel adapter.
Voltage comparison
Switzerland: 230V, 50Hz
Nigeria: 230V, 50Hz
Voltage difference is within a range many devices tolerate; check your appliance label.