Fix for bluetooth headphones, switch between headset and hifi
This commit is contained in:
parent
f8812c081b
commit
6d46c769fd
@ -140,12 +140,18 @@ in
|
|||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
wireplumber.extraConfig.bluetoothEnhancements = {
|
wireplumber.extraConfig = {
|
||||||
"monitor.bluez.properties" = {
|
"wireplumber.settings" = {
|
||||||
"bluez5.enable-sbc-xq" = true;
|
bluetooth.autoswitch-to-headset-profile = false;
|
||||||
"bluez5.enable-msbc" = true;
|
};
|
||||||
"bluez5.enable-hw-volume" = true;
|
bluetoothEnhancements = {
|
||||||
"bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" "a2dp_sink" "a2dp_source" ];
|
"monitor.bluez.properties" = {
|
||||||
|
"bluez5.enable-sbc-xq" = true;
|
||||||
|
"bluez5.enable-msbc" = true;
|
||||||
|
"bluez5.enable-hw-volume" = true;
|
||||||
|
# Default roles: https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/bluetooth.html#monitor-properties
|
||||||
|
"bluez5.roles" = [ "a2dp_sink" "a2dp_source" "bap_sink" "bap_source" "hfp_hf" "hfp_ag" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -165,9 +171,20 @@ in
|
|||||||
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true"; # Don't create default ~/Sync folder
|
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true"; # Don't create default ~/Sync folder
|
||||||
|
|
||||||
services.usbmuxd.enable = true;
|
services.usbmuxd.enable = true;
|
||||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
hardware.bluetooth = {
|
||||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
enable = true;
|
||||||
|
powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||||
|
settings = {
|
||||||
|
General = {
|
||||||
|
Name = "Nate-Vasion";
|
||||||
|
ControlleMode = "dual";
|
||||||
|
FastConnectable = "true";
|
||||||
|
Experimental = "true";
|
||||||
|
};
|
||||||
|
Policy = { AutoEnable = "true"; };
|
||||||
|
LE = { EnableAdvMonInterleaveScan = "true"; };
|
||||||
|
};
|
||||||
|
};
|
||||||
#
|
#
|
||||||
# Nvidia Setup
|
# Nvidia Setup
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user