2024-10-22 10:54:12 +02:00
|
|
|
{config, pkgs, ...}:
|
2024-10-20 16:21:47 +02:00
|
|
|
{
|
2024-11-03 08:14:35 +01:00
|
|
|
sound.enable = false;
|
2024-10-20 16:21:47 +02:00
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
2024-11-01 18:03:42 +01:00
|
|
|
#jack.enable = true;
|
2024-10-22 10:54:12 +02:00
|
|
|
|
2024-10-20 16:21:47 +02:00
|
|
|
wireplumber.extraConfig."10-bluez" = {
|
|
|
|
"monitor.bluez.properties" = {
|
|
|
|
"bluez5.enable-sbc-xq" = true;
|
|
|
|
"bluez5.enable-msbc" = true;
|
|
|
|
"bluez5.enable-hw-volume" = true;
|
|
|
|
"bluez5.roles" = [
|
|
|
|
"hsp_hs"
|
|
|
|
"hsp_ag"
|
|
|
|
"hfp_hf"
|
|
|
|
"hfp_ag"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-11-01 18:03:42 +01:00
|
|
|
services.pipewire.wireplumber.extraConfig."11-bluetooth-policy" = {
|
|
|
|
"wireplumber.settings" = {
|
|
|
|
"bluetooth.autoswitch-to-headset-profile" = false;
|
|
|
|
};
|
|
|
|
};
|
2024-10-22 10:54:12 +02:00
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.pwvucontrol
|
|
|
|
];
|
2024-10-20 16:21:47 +02:00
|
|
|
}
|