default.nix 360 B

12345678910111213141516171819
  1. { pkgs, ... }:
  2. {
  3. hardware.bluetooth = {
  4. enable = true;
  5. powerOnBoot = true;
  6. settings = {
  7. General = {
  8. Enable = "Source,Sink,Media,Socket";
  9. AutoConnect = true;
  10. FastConnectable = true;
  11. };
  12. };
  13. };
  14. services.blueman.enable = true;
  15. boot.extraModprobeConfig = ''
  16. options btusb enable_autosuspend=0
  17. '';
  18. }