Skip to content

Commit

Permalink
raspberry-pi/5: don't use overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored and mergify[bot] committed May 6, 2024
1 parent 1d11c10 commit 8a4adfe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
13 changes: 7 additions & 6 deletions raspberry-pi/5/default.nix
@@ -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"
Expand Down
6 changes: 0 additions & 6 deletions raspberry-pi/5/overlay.nix

This file was deleted.

0 comments on commit 8a4adfe

Please sign in to comment.