mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
https://github.com/NixOS/nixpkgs/commit/90cb7876446bf1684ffe40ab7832de0ec1b92991 Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
16 lines
419 B
Nix
16 lines
419 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
|
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/linux-imx8.nix { });
|
|
kernelParams = [ "console=ttyLP0,115200n8" ];
|
|
loader.grub.enable = lib.mkDefault true;
|
|
initrd.includeDefaultModules = lib.mkForce false;
|
|
};
|
|
|
|
disabledModules = [ "profiles/all-hardware.nix" ];
|
|
|
|
hardware.deviceTree.enable = true;
|
|
}
|