mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-25 02:59:45 +01:00
21 lines
429 B
Nix
21 lines
429 B
Nix
{ lib, pkgs, ...}:
|
|
|
|
{
|
|
imports = [
|
|
./modesetting.nix
|
|
];
|
|
|
|
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;
|
|
}
|