try to fix bluetooth

This commit is contained in:
cy 2024-12-15 21:14:57 -05:00
parent 401c5b35c7
commit af17f10315

View file

@ -77,6 +77,21 @@
"bluez5.roles" = ["a2dp_sink" "a2dp_source"]; "bluez5.roles" = ["a2dp_sink" "a2dp_source"];
}; };
}; };
# https://wiki.archlinux.org/title/Bluetooth_headset#Connecting_works,_sound_plays_fine_until_headphones_become_idle,_then_stutters
wireplumber.extraConfig.disableSuspend = {
"monitor.bluez.rules" = {
matches = [
{
"node.name" = "bluez_output.*";
}
];
};
actions = {
update-props = {
"session.suspend-timeout-seconds" = 0;
};
};
};
}; };
services.libinput.enable = true; services.libinput.enable = true;