raspberry-pi: move kernel and firmware from nixpkgs

As part of the gradual phasing out of linux_rpi in nixpkgs

Link: https://github.com/NixOS/nixpkgs/pull/477665

Signed-off-by: Cryolitia PukNgae <Cryolitia@gmail.com>
This commit is contained in:
Cryolitia PukNgae 2026-01-18 14:39:02 +08:00
parent cce68f4a54
commit c8f766fd11
6 changed files with 209 additions and 12 deletions

View file

@ -6,7 +6,13 @@
{
boot = {
kernelPackages = lib.mkDefault pkgs.linuxKernel.packages.linux_rpi3;
kernelPackages = lib.mkDefault (
pkgs.linuxPackagesFor (
pkgs.callPackage ../common/kernel.nix {
rpiVersion = 3;
}
)
);
initrd.availableKernelModules = [
"usbhid"
"usb-storage"