I am using ckb-next for my Corsair mouse and keyboard. Just check if your mouse is supported.
One thing I couldn’t so in Linux is save light settings to the on-board memory. For that I had to open Windows and the Corsair iCue software and save it from there. After that my mouse and keyboard boots with correct light colors
I use the best of both worlds. A gui in the terminal. GitUI