nixos-hardware/raspberry-pi/4/default.nix
Domen Kožar bd06334074
rpi4: don't override sane default for nix.buildCores
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-05-12 21:42:30 +02:00

18 lines
387 B
Nix

{ lib, pkgs, ...}:
{
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;
};
};
# Required for the Wireless firmware
hardware.enableRedistributableFirmware = true;
}