From e23365360f6e9d1848eefb13f1db938e6d195686 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Mon, 3 Apr 2023 09:49:40 +0200 Subject: [PATCH] Remove services.pipewire.media-session It was removed from the module in favor of wireplumber --- modules/sound/default.nix | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/modules/sound/default.nix b/modules/sound/default.nix index e0f11f2..79ba645 100644 --- a/modules/sound/default.nix +++ b/modules/sound/default.nix @@ -16,33 +16,7 @@ in enable = true; pulse.enable = true; alsa.enable = true; - media-session = { - enable = false; - - config = { - bluez-monitor.rules = mkIf config.eboskma.bluetooth.enable [ - { - matches = [{ "device.name" = "~bluez_card.*"; }]; - actions = { - "update-props" = { - "bluez5.reconnect-profiles" = [ "hfp_hf" "hsp_hs" "a2dp_sink" ]; - "bluez5.msbc-support" = true; - "bluez5.sbc-xq-support" = true; - }; - }; - } - { - matches = [ - { "node.name" = "~bluez_input.*"; } - { "node.name" = "~bluez_output.*"; } - ]; - actions = { - "node.pause-on-idle" = false; - }; - } - ]; - }; - }; + wireplumber.enable = true; }; };