mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-04 17:27:14 +08: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:
@@ -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; };
|
||||
}
|
||||
Reference in New Issue
Block a user