Use community fork of noisetorch
This commit is contained in:
parent
45a468a0b0
commit
b21d018d49
|
@ -1,5 +1,17 @@
|
|||
## Setup pipewire, including bluetooth audio
|
||||
{ config, pkgs, ... }:
|
||||
let new-noisetorch = pkgs.noisetorch.overrideAttrs (old: {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "noisetorch";
|
||||
repo = "NoiseTorch";
|
||||
rev = "fe3ace8cc7add2f3bd42dd767c8fc292bc2aeaad";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-A6cX1ck47/ZIn9cnV/Ow4CxVFfOX5J0K0Q+B70jCFdQ=";
|
||||
};
|
||||
version = "0.12.0";
|
||||
meta.insecure = false;
|
||||
});
|
||||
in
|
||||
{
|
||||
# Disable normal audio subsystem explicitly
|
||||
sound.enable = false;
|
||||
|
@ -27,9 +39,9 @@
|
|||
pkgs.pulseaudio
|
||||
];
|
||||
# Add noisetorch for microphone noise canceling
|
||||
#programs.noisetorch = {
|
||||
# enable = true; TODO: https://github.com/noisetorch/NoiseTorch/releases/tag/0.11.6
|
||||
# Use latest noisetorch, its a fast moving target
|
||||
#package = unstable.noisetorch;
|
||||
#};
|
||||
programs.noisetorch = {
|
||||
enable = true; # TODO: https://github.com/noisetorch/NoiseTorch/releases/tag/0.11.6
|
||||
# Use latest noisetorch, its a fast moving target
|
||||
package = new-noisetorch;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue