[pi4] Split module config

This commit is contained in:
2025-04-15 23:39:10 +02:00
parent 4ed23cdf5f
commit 22ab5aa5cf
7 changed files with 60 additions and 37 deletions

16
hosts/pi4/boot.nix Normal file
View File

@ -0,0 +1,16 @@
{ pkgs, ... }:
{
boot = {
kernelPackages = pkgs.linuxKernel.packages.linux_rpi4;
initrd.availableKernelModules = [
"xhci_pci"
"usbhid"
"usb_storage"
];
loader = {
grub.enable = false;
generic-extlinux-compatible.enable = true;
};
};
}