From 44cb9fefd662294fc0b5fc9e16f63149ae069c7e Mon Sep 17 00:00:00 2001 From: Tristan Druyen Date: Thu, 10 Oct 2024 17:04:46 +0200 Subject: [PATCH] [fix]: Fix cava issues by disabling bt autoswitch --- os-mods/desktop/audio.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/os-mods/desktop/audio.nix b/os-mods/desktop/audio.nix index 1ab4178..3e91ec5 100644 --- a/os-mods/desktop/audio.nix +++ b/os-mods/desktop/audio.nix @@ -16,4 +16,11 @@ ## audio # sound.enable = true; hardware.bluetooth.enable = true; + + ## fix cava + services.pipewire.wireplumber.extraConfig."11-bluetooth-policy" = { + "wireplumber.settings" = { + "bluetooth.autoswitch-to-headset-profile" = false; + }; + }; }