mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-05 02:29:40 +01:00
c84a8f2423
With overlays one cannot re-use nixpkgs across different machines, which is a performance issues. In this instance it's not really needed.
20 lines
360 B
Nix
20 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";
|
|
};
|
|
}
|