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 committed 2026-01-18 23:19:14 +08:00
1 parent cce68f4a54
commit c8f766fd11
6 files changed
+209 -12

No files matched your search

+7 -7
View File
@@ -4,15 +4,15 @@
config,
...
}:
let
linux_rpi5 = pkgs.linux_rpi4.override {
rpiVersion = 5;
argsOverride.defconfig = "bcm2712_defconfig";
};
in
{
boot = {
kernelPackages = lib.mkDefault (pkgs.linuxPackagesFor linux_rpi5);
kernelPackages = lib.mkDefault (
pkgs.linuxPackagesFor (
pkgs.callPackage ../common/kernel.nix {
rpiVersion = 5;
}
)
);
initrd.availableKernelModules = [
"nvme"
"usbhid"