pulseaudio: Add bluetooth support

restic-rest-server
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
1 changed files with 7 additions and 0 deletions

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
];