mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Desktop] Add wireplumber config for Bluetooth devices
This commit is contained in:
parent
351e557874
commit
34e1e82f4f
1 changed files with 10 additions and 0 deletions
10
desktop.nix
10
desktop.nix
|
|
@ -114,6 +114,16 @@ in {
|
|||
];
|
||||
};
|
||||
};
|
||||
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 ]"
|
||||
}
|
||||
'';
|
||||
};
|
||||
security.rtkit.enable = true; # Real-time support for pipewire
|
||||
|
||||
security.polkit.enable = true; # Better interactive privilege prompts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue