nixos-hardware/nxp/common/modules.nix
Ivan Nikolaenko 75b6ec4775
Add NXP i.MX8 SOC family support.
Currently there are two devices supported:
* imx8qm-mek
* imx8qxp-mek

Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
2023-02-20 12:19:39 +02:00

19 lines
440 B
Nix

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