0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/initrd: Don't include some x86-specific modules unconditionally

This commit is contained in:
Tuomas Tynkkynen 2017-12-06 20:25:06 +02:00 committed by Tuomas Tynkkynen
parent 44326993f4
commit 95880aaf06
2 changed files with 5 additions and 3 deletions

View file

@ -208,10 +208,11 @@ in
"usbhid"
"hid_generic" "hid_lenovo" "hid_apple" "hid_roccat" "hid_logitech_hidpp"
# Misc. keyboard stuff.
] ++ optionals (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) [
# Misc. x86 keyboard stuff.
"pcips2" "atkbd" "i8042"
# Needed by the stage 2 init script.
# x86 RTC needed by the stage 2 init script.
"rtc_cmos"
];