aboutsummaryrefslogtreecommitdiff
path: root/etc/nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-02-22 11:00:03 -0300
committerEuAndreh <eu@euandre.org>2023-02-22 11:00:03 -0300
commitc9d2fdc7f12675ddfc486b975fa1d7eff007374f (patch)
tree2fb666c63511811ea198d349838c8b95f82de4c6 /etc/nix
parentetc/nix/configuration.nix: Cleanup xserver.displayManager session (diff)
downloaddotfiles-c9d2fdc7f12675ddfc486b975fa1d7eff007374f.tar.gz
dotfiles-c9d2fdc7f12675ddfc486b975fa1d7eff007374f.tar.xz
etc/nix/configuration.nix: Cleanup pulseaudio configuration
Diffstat (limited to 'etc/nix')
-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
'';
};
};