mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-17 16:39:40 +01:00
raspberry-pi/5: don't use overlay
This commit is contained in:
parent
1d11c10800
commit
8a4adfe48b
2 changed files with 7 additions and 12 deletions
|
@ -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"
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
final: _prev: {
|
||||
linux_rpi5 = final.linux_rpi4.override {
|
||||
rpiVersion = 5;
|
||||
argsOverride.defconfig = "bcm2712_defconfig";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue