mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-23 10:09:44 +01:00
nxp-imx8: drop kernel overlay
With overlays one cannot re-use nixpkgs across different machines, which is a performance issues. In this instance it's not really needed.
This commit is contained in:
parent
51559e691f
commit
c84a8f2423
3 changed files with 3 additions and 10 deletions
|
@ -1,12 +1,8 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
nixpkgs.overlays = [
|
||||
(import ./overlay.nix)
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "aarch64-linux";
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackagesFor pkgs.linux_imx8;
|
||||
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/linux-imx8.nix { });
|
||||
kernelParams = [ "console=ttyLP0,115200n8" ];
|
||||
loader.grub.enable = lib.mkDefault true;
|
||||
initrd.includeDefaultModules = lib.mkForce false;
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
final: prev: {
|
||||
linux_imx8 = final.callPackage ./bsp/linux-imx8.nix { pkgs = final; };
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
|
@ -10,7 +10,7 @@
|
|||
];
|
||||
|
||||
boot.loader.grub.extraFiles = {
|
||||
"imx8qm-mek.dtb" = "${pkgs.linux_imx8}/dtbs/freescale/imx8qm-mek.dtb";
|
||||
"imx8qm-mek.dtb" = "${pkgs.callPackage ../common/bsp/linux-imx8.nix { }}/dtbs/freescale/imx8qm-mek.dtb";
|
||||
};
|
||||
|
||||
hardware.deviceTree = {
|
||||
|
|
Loading…
Reference in a new issue