modules.bugs: fix bluetooth

This commit is contained in:
陈浩南 2024-09-30 00:27:21 +08:00
parent 55b62460f6
commit bec274441b
2 changed files with 4 additions and 1 deletions

View File

@ -142,7 +142,7 @@ inputs:
waydroid = {};
docker = {};
};
bugs = [ "xmunet" "backlight" "amdpstate" ];
bugs = [ "xmunet" "backlight" "amdpstate" "bluetooth" ];
};
boot =
{

View File

@ -40,6 +40,9 @@ inputs:
amdpstate.boot.kernelParams = [ "amd_pstate=active" ];
hibernate-mt7921e.powerManagement.resumeCommands =
let modprobe = "${inputs.pkgs.kmod}/bin/modprobe"; in "${modprobe} -r -w 3000 mt7921e && ${modprobe} mt7921e";
# could not use bt keyboard
# https://github.com/bluez/bluez/issues/745
bluetooth.hardware.bluetooth.settings.General.JustWorksRepairing = "always";
};
in
{