1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-01 18:43:34 +02:00
nixos-hardware/nxp/common/modules.nix
Jörg Thalheim c84a8f2423 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.
2023-05-05 09:22:26 +02:00

15 lines
412 B
Nix

{ pkgs, lib, ... }: {
nixpkgs.hostPlatform = "aarch64-linux";
boot = {
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/linux-imx8.nix { });
kernelParams = [ "console=ttyLP0,115200n8" ];
loader.grub.enable = lib.mkDefault true;
initrd.includeDefaultModules = lib.mkForce false;
};
disabledModules = [ "profiles/all-hardware.nix" ];
hardware.deviceTree.enable = true;
}