From 3edac96be2fe69882920fddaefe25eb27403c6c5 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 11 Mar 2022 15:49:12 +0100 Subject: [PATCH] services: pipewire: switch to wireplumber audio didn't work after flake.lock bump! --- services/pipewire.nix | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/services/pipewire.nix b/services/pipewire.nix index f2e2f25..0be1e42 100644 --- a/services/pipewire.nix +++ b/services/pipewire.nix @@ -32,44 +32,7 @@ in pulse.enable = true; jack.enable = true; - wireplumber.enable = false; - media-session = { - enable = true; - config.bluez-monitor.rules = [ - { - # Matches all cards - matches = [{ "device.name" = "~bluez_card.*"; }]; - actions = { - "update-props" = { - "bluez5.reconnect-profiles" = [ - "a2dp_sink" - "hfp_hf" - "hsp_hs" - ]; - # mSBC provides better audio + microphone - "bluez5.msbc-support" = true; - # SBC XQ provides better audio - "bluez5.sbc-xq-support" = true; - }; - }; - } - { - matches = [ - # Matches all sources - { - "node.name" = "~bluez_input.*"; - } - # Matches all outputs - { - "node.name" = "~bluez_output.*"; - } - ]; - actions = { - "node.pause-on-idle" = false; - }; - } - ]; - }; + wireplumber.enable = true; }; # FIXME: a shame pactl isn't available by itself, eventually this should be