1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-05 02:29:40 +01:00
nixos-hardware/nxp/common/modules.nix

15 lines
412 B
Nix
Raw Normal View History

{ pkgs, lib, ... }: {
nixpkgs.hostPlatform = "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;
}