mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-04 01:07:14 +08:00
18 lines
325 B
Nix
18 lines
325 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
nixpkgs.hostPlatform = "aarch64-linux";
|
|
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/imx8mq-linux.nix { });
|
|
initrd.includeDefaultModules = lib.mkForce false;
|
|
};
|
|
|
|
disabledModules = [ "profiles/all-hardware.nix" ];
|
|
|
|
hardware.deviceTree.enable = true;
|
|
}
|