10.nixos-hardware/raspberry-pi/common/default.nix
Jamie Magee f54c3bcb65 raspberry-pi/common: add firmware-partition install module
Adds hardware.raspberry-pi.firmware to stage the Pi's pre-Linux boot files (GPU boot code, DTBs, overlays, config.txt, optionally U-Boot) onto the firmware partition. Boards still boot via generic-extlinux-compatible; this only supplies the files it needs, through populateCmd for image builders or an opt-in activation script.

DTB/overlay copy adapted from nvmd/nixos-raspberrypi.
2026-07-09 23:03:00 -07:00

13 lines
181 B
Nix

{
imports = [
./config-txt.nix
./config-txt-defaults.nix
./firmware.nix
];
boot.initrd.availableKernelModules = [
"usb-storage"
"usbhid"
"vc4"
];
}