raspberry-pi/5: don't use overlay

This commit is contained in:
Jörg Thalheim 2024-05-05 06:59:23 +02:00 committed by mergify[bot]
parent 1d11c10800
commit 8a4adfe48b
2 changed files with 7 additions and 12 deletions

View file

@ -1,12 +1,13 @@
{ lib, pkgs, config, ... }:
let
linux_rpi5 = pkgs.linux_rpi4.override {
rpiVersion = 5;
argsOverride.defconfig = "bcm2712_defconfig";
};
in
{
nixpkgs.overlays = [
(import ./overlay.nix)
];
boot = {
kernelPackages = lib.mkDefault (pkgs.linuxPackagesFor pkgs.linux_rpi5);
kernelPackages = lib.mkDefault (pkgs.linuxPackagesFor linux_rpi5);
initrd.availableKernelModules = [
"nvme"
"usbhid"

View file

@ -1,6 +0,0 @@
final: _prev: {
linux_rpi5 = final.linux_rpi4.override {
rpiVersion = 5;
argsOverride.defconfig = "bcm2712_defconfig";
};
}