aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/nix/configuration.nix12
1 files changed, 1 insertions, 11 deletions
diff --git a/etc/nix/configuration.nix b/etc/nix/configuration.nix
index f0e6240..0c9ce1b 100644
--- a/etc/nix/configuration.nix
+++ b/etc/nix/configuration.nix
@@ -30,19 +30,9 @@
hardware = {
bluetooth.enable = true;
pulseaudio = {
- package = pkgs.pulseaudioFull;
enable = true;
extraConfig = ''
- # Switch between headset and headphone mode (e.g. for calls and music) automatically
- load-module module-bluetooth-policy auto_switch=2
- # Echo cancellation and noise cleanup of mic
- load-module module-echo-cancel aec_method=webrtc
-
- # https://til.flourishing.stream/2020/05/24/cancelamento-de-ruido-pulseaudio/
- ### Enable Echo/Noise-Cancellation
- load-module module-echo-cancel use_master_format=1 aec_method=webrtc aec_args="analog_gain_control=0\ digital_gain_control=1" source_name=echoCancel_source sink_name=echoCancel_sink
- set-default-source echoCancel_source
- set-default-sink echoCancel_sink
+ load-module module-echo-cancel
'';
};
};