There is a whole playlist about installing the xanmod kernel on ArcoLinux if you want to learn more about building kernels.

yay linux clear

and choose.

Our advice is to build and install the headers as well. If there is an application/driver that needs it …

The alternative to building is downloading – we show you where to find the sources.

In the end we get it from Chaotics repo.