Installing wireguard-modules and then running make modules_install from kernel sources will cause wireguard.ko to be removed. Out of tree modules should not install to the kernel module subdirectory directly as the ebuild/package never really "owns" that directory. They can safely be installed to another directory along side the kernel subdirectory; "misc" or just "net" would be reasonable. Reproducible: Always