1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 11:29:42 +01:00
nixos-hardware/nxp/imx8qm-mek/default.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

20 lines
333 B
Nix

{ pkgs, lib, ... }:
{
nixpkgs.overlays = [
(import ./overlay.nix)
];
imports = [
../common/modules.nix
];
boot.loader.grub.extraFiles = {
"imx8qm-mek.dtb" = "${pkgs.linux_imx8}/dtbs/freescale/imx8qm-mek.dtb";
};
hardware.deviceTree = {
filter = "imx8qm-*.dtb";
name = "imx8qm-mek.dtb";
};
}