From 2e6d563067c620d42c9d63911a637793698273eb Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Fri, 6 Aug 2021 21:27:29 +0300 Subject: [PATCH] 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. --- pkgs/os-specific/linux/tuxedo-keyboard/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/tuxedo-keyboard/default.nix b/pkgs/os-specific/linux/tuxedo-keyboard/default.nix index 57098d1576ad..563e1333b87f 100644 --- a/pkgs/os-specific/linux/tuxedo-keyboard/default.nix +++ b/pkgs/os-specific/linux/tuxedo-keyboard/default.nix @@ -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; {