2021-05-11 07:32:03 +00:00
|
|
|
{ lib, pkgs, ...}:
|
|
|
|
|
|
|
|
{
|
2021-05-13 00:51:38 +00:00
|
|
|
imports = [
|
|
|
|
./modesetting.nix
|
|
|
|
];
|
|
|
|
|
2021-05-11 07:32:03 +00:00
|
|
|
boot = {
|
|
|
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_rpi4;
|
|
|
|
initrd.availableKernelModules = [ "usbhid" "usb_storage" "vc4" ];
|
|
|
|
|
|
|
|
loader = {
|
2021-05-12 12:37:30 +00:00
|
|
|
grub.enable = lib.mkDefault false;
|
|
|
|
generic-extlinux-compatible.enable = lib.mkDefault true;
|
2021-05-11 07:32:03 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# Required for the Wireless firmware
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
2021-05-12 19:42:30 +00:00
|
|
|
}
|