2024-11-04 22:41:38 -05:00
|
|
|
{ config, pkgs, ... }:
|
2024-11-02 17:19:40 -04:00
|
|
|
{
|
|
|
|
services.pipewire = {
|
2024-11-04 22:41:38 -05:00
|
|
|
enable = config.system.desktop.enable;
|
2024-11-02 17:19:40 -04:00
|
|
|
wireplumber = {
|
|
|
|
enable = true;
|
|
|
|
configPackages = [
|
|
|
|
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/11-bluetooth-policy.conf" ''
|
|
|
|
wireplumber.settings = { bluetooth.autoswitch-to-headset-profile = false }
|
|
|
|
'')
|
|
|
|
];
|
|
|
|
};
|
|
|
|
alsa = {
|
|
|
|
enable = true;
|
|
|
|
support32Bit = true;
|
|
|
|
};
|
|
|
|
pulse.enable = true;
|
|
|
|
#jack.enable = true;
|
|
|
|
};
|
|
|
|
}
|