pulseaudio: Add bluetooth support

This commit is contained in:
Simon Bruder 2020-11-05 15:31:43 +01:00
parent 9a045ce323
commit 80b16dddb2
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -5,6 +5,9 @@
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
extraModules = [
pkgs.pulseaudio-modules-bt # Non-standard codecs for bluetooth
];
daemon.config = {
"default-sample-format" = "s16le";
"default-sample-rate" = "48000";
@ -14,6 +17,10 @@
};
};
# Bluetooth support
hardware.bluetooth.enable = true;
services.blueman.enable = true;
environment.systemPackages = with pkgs; [
pavucontrol
];