Install the firmware for bluetooth on the MT7927 (the bluetooth chip being the MT6639).
This firmware has not been merged into linux-firmware yet since they need Mediatek's approval.
This commit is contained in:
@@ -283,6 +283,20 @@ in
|
||||
(disableOptimizations "nototools") # Needs to use the same version of python as the zopfli package
|
||||
];
|
||||
|
||||
hardware.firmware =
|
||||
let
|
||||
mt6639_bt_firmware = builtins.fetchurl {
|
||||
url = "https://gitlab.com/kernel-firmware/linux-firmware/-/raw/77ad2a92acf2ac3e5ea47432b43d925ff99db909/mediatek/mt7927/BT_RAM_CODE_MT6639_2_1_hdr.bin";
|
||||
sha256 = "0xmwzc7xdgywxps488hs6hqjsp4i665ingax530qb765l2cmr736";
|
||||
};
|
||||
in
|
||||
[
|
||||
(pkgs.runCommand "mediatek-custom-firmware" { } ''
|
||||
mkdir -p $out/lib/firmware/mediatek
|
||||
cp ${mt6639_bt_firmware} $out/lib/firmware/mediatek/BT_RAM_CODE_MT6639_2_1_hdr.bin
|
||||
'')
|
||||
];
|
||||
|
||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user