Skip to content

Commit d0955d2

Browse files
raspberry-pi/3: load usbhid and usb_storage
1 parent 3441b52 commit d0955d2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

raspberry-pi/3/default.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
}:
66

77
{
8-
boot.kernelPackages = lib.mkDefault pkgs.linuxKernel.packages.linux_rpi3;
8+
boot = {
9+
kernelPackages = lib.mkDefault pkgs.linuxKernel.packages.linux_rpi3;
10+
initrd.availableKernelModules = [
11+
"usbhid"
12+
"usb_storage"
13+
];
14+
};
915

1016
# fix the following error :
1117
# modprobe: FATAL: Module ahci not found in directory

0 commit comments

Comments
 (0)