mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 09:58:47 +08:00
raspberry-pi/3: load usbhid and usb_storage
This commit is contained in:
@@ -5,7 +5,13 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.kernelPackages = lib.mkDefault pkgs.linuxKernel.packages.linux_rpi3;
|
boot = {
|
||||||
|
kernelPackages = lib.mkDefault pkgs.linuxKernel.packages.linux_rpi3;
|
||||||
|
initrd.availableKernelModules = [
|
||||||
|
"usbhid"
|
||||||
|
"usb_storage"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# fix the following error :
|
# fix the following error :
|
||||||
# modprobe: FATAL: Module ahci not found in directory
|
# modprobe: FATAL: Module ahci not found in directory
|
||||||
|
|||||||
Reference in New Issue
Block a user