fix bluetooth audio

This commit is contained in:
2025-01-13 17:36:02 +02:00
parent 9a8440e26e
commit b5e782f395
4 changed files with 15 additions and 13 deletions

View File

@@ -1,11 +0,0 @@
{ inputs, ... }:
{
imports = [ inputs.hyprpanel.homeManagerModules.hyprpanel ];
programs.hyprpanel = {
enable = true;
systemd.enable = true;
overwrite.enable = true;
};
}

View File

@@ -21,6 +21,20 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
wireplumber = {
enable = true;
configPackages = [
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/51-mitigate-annoying-profile-switch.conf" ''
wireplumber.settings = {
bluetooth.autoswitch-to-headset-profile = false
}
monitor.bluez.properties = {
bluez5.roles = [ a2dp_sink a2dp_source ]
}
'')
];
};
};
system.stateVersion = "24.11";