2023-01-18 07:49:38 -05:00
|
|
|
{ pkgs, lib, ... }: {
|
|
|
|
nixpkgs.hostPlatform = "aarch64-linux";
|
|
|
|
|
|
|
|
boot = {
|
2023-05-05 02:17:52 -04:00
|
|
|
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/linux-imx8.nix { });
|
2023-01-18 07:49:38 -05:00
|
|
|
kernelParams = [ "console=ttyLP0,115200n8" ];
|
|
|
|
loader.grub.enable = lib.mkDefault true;
|
|
|
|
initrd.includeDefaultModules = lib.mkForce false;
|
|
|
|
};
|
|
|
|
|
|
|
|
disabledModules = [ "profiles/all-hardware.nix" ];
|
|
|
|
|
|
|
|
hardware.deviceTree.enable = true;
|
|
|
|
}
|