bluetooth
This commit is contained in:
@@ -35,6 +35,10 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
wayland.enable = cfg.wayland.enable;
|
wayland.enable = cfg.wayland.enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Required for Bluetooth D-Bus policy (allows WirePlumber/PipeWire
|
||||||
|
# to communicate with bluetoothd on the system bus).
|
||||||
|
blueman.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.portal.extraPortals = [ ];
|
xdg.portal.extraPortals = [ ];
|
||||||
|
|||||||
@@ -27,6 +27,25 @@
|
|||||||
setupAsahiSound = true;
|
setupAsahiSound = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Workaround for Apple BCM Bluetooth firmware not sending completion ACKs.
|
||||||
|
# Without this, WirePlumber spams "Missing completion reports for packet:
|
||||||
|
# Bluetooth adapter firmware bug?" and audio over BT is unreliable.
|
||||||
|
hardware.bluetooth.settings = {
|
||||||
|
Policy = {
|
||||||
|
AutoEnable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.pipewire.wireplumber.extraConfig = {
|
||||||
|
"51-bluetooth-apple-fix" = {
|
||||||
|
"monitor.bluez.properties" = {
|
||||||
|
"bluez5.msbc-support" = false;
|
||||||
|
"bluez5.sbc-xq-support" = false;
|
||||||
|
"bluez5.hw-offload-sco" = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
${namespace} = {
|
${namespace} = {
|
||||||
headless.enable = false;
|
headless.enable = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user