about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorLorenz Brun <lorenz@brun.one>2024-01-27 02:11:57 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-04-04 05:15:39 +0000
commit4c22a3c859a89f325cb1217f5b7c42798c8da5bd (patch)
treebc7be6b1612ddec63923c2ca3e350f857d7af16b /nixos
parent62c8d691d53d7fd9cd32aa7e4908ff15696b05b7 (diff)
nixos/kernel: add hid_corsair to initrd modules
Same as all the other HID drivers, otherwise Corsair keyboards do not
work before the switch to stage2 without custom configuration.

(cherry picked from commit b8b53fdf37710b1c1b58b9a17e2649355dbee938)
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/kernel.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix
index a46331ccd431d..cab63032992bd 100644
--- a/nixos/modules/system/boot/kernel.nix
+++ b/nixos/modules/system/boot/kernel.nix
@@ -292,6 +292,7 @@ in
             "usbhid"
             "hid_generic" "hid_lenovo" "hid_apple" "hid_roccat"
             "hid_logitech_hidpp" "hid_logitech_dj" "hid_microsoft" "hid_cherry"
+            "hid_corsair"
 
           ] ++ optionals pkgs.stdenv.hostPlatform.isx86 [
             # Misc. x86 keyboard stuff.