nixos-config/system/btusb-kernel-patches.nix

25 lines
774 B
Nix
Raw Normal View History

2022-11-14 12:45:55 -03:00
{ config, pkgs, lib, inputs, ... }: {
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
boot.kernelPatches = [
{
name = "bt-usb-fixes-1";
2022-12-01 23:13:00 -03:00
patch =
2022-12-02 00:25:36 -03:00
../patches/kernel/1-3-Bluetooth-btusb-Fix-Chinese-CSR-dongles-again-by-re-adding-ERR_DATA_REPORTING-quirk.diff;
2022-11-14 12:45:55 -03:00
}
{
name = "bt-usb-fixes-2";
2022-12-01 23:13:00 -03:00
patch =
2022-12-02 00:25:36 -03:00
../patches/kernel/2-3-Bluetooth-btusb-Add-a-setup-message-for-CSR-dongles-showing-the-Read-Local-Information-values.diff;
2022-11-14 12:45:55 -03:00
}
{
name = "bt-usb-fixes-3";
2022-12-01 23:13:00 -03:00
patch =
2022-12-02 00:25:36 -03:00
../patches/kernel/3-3-Bluetooth-btusb-Add-a-parameter-to-let-users-disable-the-fake-CSR-force-suspend-hack.diff;
2022-11-14 12:45:55 -03:00
}
{
name = "bt-usb-fixes-4";
2022-12-02 00:25:36 -03:00
patch = ../patches/kernel/fix-btusb-crash.diff;
2022-11-14 12:45:55 -03:00
}
];
}