raspberry-pi/5: init

This commit is contained in:
leo60228 authored and mergify[bot] committed 2024-05-06 07:04:32 +00:00
1 parent 753176b57b
commit c4fa85b9df
4 files changed
+23 -1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
{ lib, pkgs, ... }:
{
nixpkgs.overlays = [
(import ./overlay.nix)
];
boot = {
kernelPackages = lib.mkDefault (pkgs.linuxPackagesFor pkgs.linux_rpi5);
initrd.availableKernelModules = [
"usbhid"
"usb_storage"
];
};
}
+6
View File
@@ -0,0 +1,6 @@
final: _prev: {
linux_rpi5 = final.linux_rpi4.override {
rpiVersion = 5;
argsOverride.defconfig = "bcm2712_defconfig";
};
}