1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-25 19:19:44 +01:00
nixos-hardware/raspberry-pi/4/default.nix

22 lines
429 B
Nix
Raw Normal View History

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