2023-04-16 20:43:32 +00:00
|
|
|
{ config, lib, pkgs, ... }: {
|
|
|
|
boot = {
|
2024-05-28 22:18:08 +00:00
|
|
|
# Force no ZFS (from nixos/modules/profiles/base.nix) until updated to kernel 6.0
|
|
|
|
supportedFilesystems =
|
|
|
|
lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
|
2023-04-16 20:43:32 +00:00
|
|
|
consoleLogLevel = lib.mkDefault 7;
|
2024-05-28 22:18:08 +00:00
|
|
|
kernelPackages = lib.mkDefault (pkgs.callPackage ./linux-6.6.nix {
|
|
|
|
inherit (config.boot) kernelPatches;
|
|
|
|
});
|
2023-04-16 20:43:32 +00:00
|
|
|
|
|
|
|
kernelParams =
|
|
|
|
lib.mkDefault [ "console=tty0" "console=ttyS0,115200n8" "earlycon=sbi" ];
|
|
|
|
|
2023-04-29 14:50:43 +00:00
|
|
|
initrd.availableKernelModules = [ "dw_mmc_starfive" ];
|
2023-04-16 20:43:32 +00:00
|
|
|
|
|
|
|
loader = {
|
|
|
|
grub.enable = lib.mkDefault false;
|
|
|
|
generic-extlinux-compatible.enable = lib.mkDefault true;
|
|
|
|
};
|
2023-04-18 07:15:12 +00:00
|
|
|
};
|
2023-04-16 20:43:32 +00:00
|
|
|
}
|