Nigeria’s violence involves herders fighting farmers. Herders have the military advantage so more often slaughter farmers than the other way around.
There’s a variety of violence and not all of it fits the herder VS farmer paradigm, and some of it is religiously motivated or facilitated.
A majority of people killed are Muslim. However, farmers tend to be Christian, and herders tend to be Muslim. The conflict is not a simple Muslims slaughtering Christians fight, but a lot of people are dying and the Nigerian government is too weak to stop it.