From eba9476089376537ff7c32ca81449e97ff12639b Mon Sep 17 00:00:00 2001 From: "Reid \"reidlab" Date: Fri, 22 Nov 2024 16:15:52 -0800 Subject: [PATCH] noisetorch --- hosts/goopnet-interface/default.nix | 1 + modules/software/tools/noisetorch.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 modules/software/tools/noisetorch.nix diff --git a/hosts/goopnet-interface/default.nix b/hosts/goopnet-interface/default.nix index 0d5bb78..efd905c 100755 --- a/hosts/goopnet-interface/default.nix +++ b/hosts/goopnet-interface/default.nix @@ -88,6 +88,7 @@ tools.gpg.enable = true; tools.mpv.enable = true; tools.rbw.enable = true; + tools.noisetorch.enable = true; }; }; } diff --git a/modules/software/tools/noisetorch.nix b/modules/software/tools/noisetorch.nix new file mode 100644 index 0000000..a21196a --- /dev/null +++ b/modules/software/tools/noisetorch.nix @@ -0,0 +1,14 @@ +{ config, lib, ... }: + +with lib; +let + cfg = config.modules.software.tools.noisetorch; +in { + options.modules.software.tools.noisetorch = { + enable = mkEnableOption "Enable noisetorch, a microphone noise supression tool"; + }; + + config = mkIf cfg.enable { + programs.noisetorch.enable = true; + }; +} \ No newline at end of file