2023-01-18 12:49:38 +00:00
|
|
|
{ pkgs, lib, ... }: {
|
|
|
|
nixpkgs.hostPlatform = "aarch64-linux";
|
|
|
|
|
|
|
|
boot = {
|
2023-05-05 06:17:52 +00:00
|
|
|
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/linux-imx8.nix { });
|
2023-01-18 12:49:38 +00: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;
|
|
|
|
}
|