2023-04-16 22:43:32 +02:00
|
|
|
{ config, lib, pkgs, ... }: {
|
|
|
|
boot = {
|
|
|
|
consoleLogLevel = lib.mkDefault 7;
|
2024-05-25 15:31:04 +02:00
|
|
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
2023-04-16 22:43:32 +02:00
|
|
|
|
|
|
|
kernelParams =
|
|
|
|
lib.mkDefault [ "console=tty0" "console=ttyS0,115200n8" "earlycon=sbi" ];
|
|
|
|
|
2023-04-29 16:50:43 +02:00
|
|
|
initrd.availableKernelModules = [ "dw_mmc_starfive" ];
|
2023-04-16 22:43:32 +02:00
|
|
|
|
|
|
|
loader = {
|
|
|
|
grub.enable = lib.mkDefault false;
|
|
|
|
generic-extlinux-compatible.enable = lib.mkDefault true;
|
|
|
|
};
|
2023-04-18 09:15:12 +02:00
|
|
|
};
|
2023-04-16 22:43:32 +02:00
|
|
|
|
|
|
|
hardware.deviceTree.name =
|
|
|
|
lib.mkDefault "starfive/jh7110-starfive-visionfive-2-v1.3b.dtb";
|
|
|
|
}
|