mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-02 05:53:32 +01:00
raspberry-pi/5: init
This commit is contained in:
4 files changed
+23
-1
No files matched your search
@@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
final: _prev: {
|
||||
linux_rpi5 = final.linux_rpi4.override {
|
||||
rpiVersion = 5;
|
||||
argsOverride.defconfig = "bcm2712_defconfig";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user