I recently switched to nixos and mostly ported my configs except for tuxedo-keyboard drivers, on my previous system I installed them this way:
git clone https://github .com/tuxedocomputers/tuxedo-keyboard ~
cd ~/tuxedo-keyboard
make && sudo make dkmsinstall
sudo modprobe tuxedo_keyboard
currently the keyboard backlight works until I close the lid, then it goes dark. I tried using
hardware.tuxedo-keyboard.enable = true;
but this caused to make my keyboard go dark on system boot instead of on closing lid, I also tried to play with these configs provided in man configuration.nix:
boot.kernelParams = [
“tuxedo_keyboard.mode=0”
“tuxedo_keyboard.brightness=255”
“tuxedo_keyboard.color_left=0xff0a0a”
];
but I haven’t had any success with those either.
Also note that I’m not using tuxedo laptop but gigabyte G5 instead, I haven’t had any problem with these drivers on previous system though