pulseaudio: Add bluetooth support
This commit is contained in:
parent
9a045ce323
commit
80b16dddb2
|
@ -5,6 +5,9 @@
|
||||||
hardware.pulseaudio = {
|
hardware.pulseaudio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.pulseaudioFull;
|
package = pkgs.pulseaudioFull;
|
||||||
|
extraModules = [
|
||||||
|
pkgs.pulseaudio-modules-bt # Non-standard codecs for bluetooth
|
||||||
|
];
|
||||||
daemon.config = {
|
daemon.config = {
|
||||||
"default-sample-format" = "s16le";
|
"default-sample-format" = "s16le";
|
||||||
"default-sample-rate" = "48000";
|
"default-sample-rate" = "48000";
|
||||||
|
@ -14,6 +17,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Bluetooth support
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
|
services.blueman.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
pavucontrol
|
pavucontrol
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue