monolith: fix bluetooth dongle

This commit is contained in:
Leonardo Eugênio 2024-10-18 00:01:43 -03:00
parent a4ebb60595
commit 9c8bc05856
4 changed files with 80 additions and 1 deletions

View file

@ -38,7 +38,14 @@ in
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.extraModulePackages = with config.boot.kernelPackages; [ zenpower ];
boot.extraModulePackages = with config.boot.kernelPackages; [
zenpower
(pkgs.linux-bluetooth.override {
kernel = config.boot.kernelPackages.kernel;
patches = [ ../../patches/linux/v2-Bluetooth-btusb-Fix-regression-with-CSR-controllers.diff ];
})
];
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [
"kvm-amd"