From 585d6e45b44e6a3ef0bde31c8b2b709cfc2318b5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 10 Jun 2022 09:04:08 -0700 Subject: fix(bluetooth): write proper configuration for wireplumber The missing comma resulted in the following error: ``` Jun 10 08:57:09 aptos wireplumber[2303]: Failed to compile: [string "50-bluez-config.lua"]:4: '}' expected (to close '{' at line 1) near '[' ``` As a result, the service would not start, which prevented the sound to work (and overall videos were extremely slow). Change-Id: If6ff7a29a9cf294f9e8d3f6a44abf2423ecfb6e9 Reviewed-on: https://cl.fcuny.net/c/world/+/401 Tested-by: CI Reviewed-by: Franck Cuny --- modules/hardware/bluetooth/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/hardware/bluetooth/default.nix b/modules/hardware/bluetooth/default.nix index cfb9a25..0ac2cf8 100644 --- a/modules/hardware/bluetooth/default.nix +++ b/modules/hardware/bluetooth/default.nix @@ -17,7 +17,7 @@ in { environment.etc = { "wireplumber/bluetooth.lua.d/50-bluez-config.lua".text = '' bluez_monitor.properties = { - ["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]" + ["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]", -- mSBC provides better audio + microphone ["bluez5.enable-msbc"] = true, -- SBC XQ provides better audio -- cgit 1.4.1