1
Fork 0
satellite/hosts/nixos/common/optional/pipewire.nix

29 lines
622 B
Nix
Raw Normal View History

2023-12-02 00:46:56 +01:00
# This handles audio stuff
2024-08-30 01:10:41 +02:00
{
2023-01-10 02:38:06 +01:00
security.rtkit.enable = true;
hardware.pulseaudio.enable = false;
2023-05-28 02:00:10 +02:00
2023-01-10 02:38:06 +01:00
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
2024-02-29 12:44:52 +01:00
# https://nixos.wiki/wiki/PipeWire
2025-01-18 23:55:49 +01:00
services.pipewire.wireplumber.extraConfig.bluetoothEnhancements = {
"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-02-29 12:44:52 +01:00
};
2023-01-10 02:38:06 +01:00
}