Created
March 30, 2020 12:44
-
-
Save domenkozar/6e6abf0c0104c423b460ae5720986af6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hardware.pulseaudio.enable = true; | |
# https://askubuntu.com/questions/113704/make-pulseaudio-prefer-external-audio-device | |
hardware.pulseaudio.extraConfig = '' | |
load-module module-switch-on-connect | |
load-module module-switch-on-port-available | |
load-module module-bluetooth-discover | |
load-module module-bluetooth-policy | |
load-module module-bluez5-discover | |
#load-module module-bluez5-device | |
''; | |
hardware.bluetooth.enable = true; | |
# A2DP support | |
hardware.bluetooth.extraConfig = " | |
[General] | |
Enable=Source,Sink,Media,Socket | |
"; | |
hardware.pulseaudio.package = pkgs.pulseaudioFull; | |
hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment