linuxPackages.tuxedo-keyboard: expose all kernel modules

This commit exposes in addition to the tuxedo-keyboard module:

- clevo_acpi
- clevo_wmi
- tuxedo_io

These modules are required to run the Tuxedo Control Center.

(cherry picked from commit 2e6d563067c620d42c9d63911a637793698273eb)
This commit is contained in:
Julian Stecklina 2021-08-06 21:27:29 +03:00 committed by Julian Stecklina
parent e17d7f323b
commit 52269b659e
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,10 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p "$out/lib/modules/${kernel.modDirVersion}"
mv src/tuxedo_keyboard.ko $out/lib/modules/${kernel.modDirVersion}
for module in clevo_acpi.ko clevo_wmi.ko tuxedo_keyboard.ko tuxedo_io/tuxedo_io.ko; do
mv src/$module $out/lib/modules/${kernel.modDirVersion}
done
'';
meta = with lib; {