Ver código fonte

try fix bluetooth connection problems

Johan Rong 5 dias atrás
pai
commit
dfb4a6c351
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      nixos/modules/hardware/bluetooth/default.nix

+ 4 - 0
nixos/modules/hardware/bluetooth/default.nix

@@ -2,4 +2,8 @@
 {
   hardware.bluetooth.enable = true;
   services.blueman.enable = true;
+
+  boot.extraModprobeConfig = ''
+    options btusb enable_autosuspend=0
+  '';
 }