Manjaro2ArchCachy
Prelude
Even before Manjaro the Project sought to revive the Manjaro OS, I was interested in running the CachyOS kernel. Eventually, because that was stable, I sought to migrate my systems to hybrids to avoid the pains of a tedious migration off Manjaro.
For what it's worth, I have been daily-driving Manjaro for the last five years. I have no issues with Manjaro the Project's 2.0 Manifesto. This is just a precaution to avoid being caught up in a potential collapse, and give some people an easier out if they so wish.
Warning
I MAKE NO CLAIMS ABOUT SECURITY.
This script will, without a doubt, end up leaving orphaned Manjaro packages on the system. I cannot account for them all.
PRs for resolving this are appreciated!
Nvidia
This script does not check for Nvidia graphics on the system (at least not yet).
My remaining systems do not possess Nvidia cards, so I don't need to figure out detection for this.
If you do have an Nvidia card, please see the CachyOS documentation for more information.
Newer cards should only need to run:
sudo pacman -R nvidia-dkms
sudo pacman -S linux-cachyos{-kernelVariant}-nvidia-open