2024-10-09 03:36:08 -04:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-08-24 22:16:51 -04:00
|
|
|
services = {
|
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
audio.enable = true;
|
|
|
|
wireplumber = {
|
|
|
|
enable = true;
|
2024-10-15 17:10:40 -04:00
|
|
|
configPackages = [(
|
|
|
|
pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/11-bluetooth-policy.conf" ''
|
2024-08-24 22:16:51 -04:00
|
|
|
wireplumber.settings = { bluetooth.autoswitch-to-headset-profile = false }
|
2024-10-15 17:10:40 -04:00
|
|
|
''
|
|
|
|
)];
|
2024-08-24 22:16:51 -04:00
|
|
|
};
|
|
|
|
alsa = {
|
|
|
|
enable = true;
|
|
|
|
support32Bit = true;
|
|
|
|
};
|
|
|
|
pulse.enable = true;
|
|
|
|
#jack.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|