2020-07-14 16:47:09 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
hardware.pulseaudio = {
|
|
|
|
enable = true;
|
|
|
|
zeroconf.discovery.enable = true;
|
|
|
|
daemon.config = {
|
|
|
|
flat-volumes = "no";
|
|
|
|
avoid-resampling = "yes";
|
|
|
|
resample-method = "speex-float-10";
|
|
|
|
default-sample-format = "s32le";
|
|
|
|
default-sample-rate = "96000";
|
|
|
|
};
|
2020-11-12 14:09:28 +01:00
|
|
|
# package = pkgs.pulseaudioFull;
|
|
|
|
package = pkgs.pulseaudio-hsphfpd;
|
|
|
|
# extraModules = [ pkgs.pulseaudio-modules-bt ];
|
2020-07-14 16:47:09 +02:00
|
|
|
};
|
|
|
|
|
2020-11-12 14:09:28 +01:00
|
|
|
hardware.bluetooth.hsphfpd.enable = true;
|
|
|
|
|
|
|
|
users.extraUsers.gebner.extraGroups = [ "bluetooth" ];
|
|
|
|
|
2020-10-11 12:06:18 +02:00
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
2020-07-16 11:49:07 +02:00
|
|
|
# causes recompilation
|
|
|
|
# nixpkgs.config.pulseaudio = true;
|
2020-07-15 11:48:32 +02:00
|
|
|
|
2020-07-14 16:47:09 +02:00
|
|
|
}
|