mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-16 16:09:40 +01:00
a6aa8174fa
597: microsoft-surface: upgrade kernel 6.1.6 to 6.1.18 r=Mic92 a=jokogr 599: fix: add missing touch-ft5406 export to raspberry-pi config r=Mic92 a=louib Co-authored-by: Ioannis Koutras <ioannis.koutras@gmail.com> Co-authored-by: louib <code@louib.net>
39 lines
853 B
Nix
39 lines
853 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./audio.nix
|
|
./backlight.nix
|
|
./cpu-revision.nix
|
|
./dwc2.nix
|
|
./i2c.nix
|
|
./modesetting.nix
|
|
./poe-hat.nix
|
|
./poe-plus-hat.nix
|
|
./tc358743.nix
|
|
./touch-ft5406.nix
|
|
./pwm0.nix
|
|
./pkgs-overlays.nix
|
|
];
|
|
|
|
boot = {
|
|
kernelPackages = lib.mkDefault pkgs.linuxKernel.packages.linux_rpi4;
|
|
initrd.availableKernelModules = [
|
|
"usbhid"
|
|
"usb_storage"
|
|
"vc4"
|
|
"pcie_brcmstb" # required for the pcie bus to work
|
|
"reset-raspberrypi" # required for vl805 firmware to load
|
|
];
|
|
|
|
loader = {
|
|
grub.enable = lib.mkDefault false;
|
|
generic-extlinux-compatible.enable = lib.mkDefault true;
|
|
};
|
|
};
|
|
|
|
hardware.deviceTree.filter = "bcm2711-rpi-*.dtb";
|
|
|
|
# Required for the Wireless firmware
|
|
hardware.enableRedistributableFirmware = true;
|
|
}
|