Added bluetooth
This commit is contained in:
parent
ee6bccf11d
commit
e9068a7bba
|
@ -117,7 +117,6 @@ in {
|
||||||
python311Packages.pip
|
python311Packages.pip
|
||||||
python311Packages.pygobject3
|
python311Packages.pygobject3
|
||||||
libsForQt5.kamoso
|
libsForQt5.kamoso
|
||||||
blueman
|
|
||||||
gcc
|
gcc
|
||||||
pass
|
pass
|
||||||
vscode-langservers-extracted
|
vscode-langservers-extracted
|
||||||
|
@ -163,6 +162,21 @@ in {
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.etc = {
|
||||||
|
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
||||||
|
bluez_monitor.properties = {
|
||||||
|
["bluez5.enable-sbc-xq"] = true,
|
||||||
|
["bluez5.enable-msbc"] = true,
|
||||||
|
["bluez5.enable-hw-volume"] = true,
|
||||||
|
["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||||
|
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||||
|
services.blueman.enable = true;
|
||||||
|
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
services.locate = {
|
services.locate = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue