about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-10 09:04:08 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-10 09:05:52 -0700
commit585d6e45b44e6a3ef0bde31c8b2b709cfc2318b5 (patch)
tree57df5c0860792465a9c69da2afb171ab7629c472
parentfix(backups): exclude more files from the backups (diff)
downloadworld-585d6e45b44e6a3ef0bde31c8b2b709cfc2318b5.tar.gz
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 <franck@fcuny.net>
Diffstat (limited to '')
-rw-r--r--modules/hardware/bluetooth/default.nix2
1 files changed, 1 insertions, 1 deletions
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