mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-09-07 11:06:29 +02:00
With overlays one cannot re-use nixpkgs across different machines, which is a performance issues. In this instance it's not really needed.
21 lines
360 B
Nix
21 lines
360 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
nixpkgs.overlays = [
|
|
(import ./overlay.nix)
|
|
];
|
|
|
|
imports = [
|
|
../common/modules.nix
|
|
];
|
|
|
|
boot.loader.grub.extraFiles = {
|
|
"imx8qm-mek.dtb" = "${pkgs.callPackage ../common/bsp/linux-imx8.nix { }}/dtbs/freescale/imx8qm-mek.dtb";
|
|
};
|
|
|
|
hardware.deviceTree = {
|
|
filter = "imx8qm-*.dtb";
|
|
name = "imx8qm-mek.dtb";
|
|
};
|
|
}
|