pulseaudio: Add bluetooth support
This commit is contained in:
parent
9a045ce323
commit
80b16dddb2
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue