From 696e37e35c586b48c44ead25117da38ca7a2fd5b Mon Sep 17 00:00:00 2001 From: reidlab Date: Mon, 30 Dec 2024 20:24:51 -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 6a28625..d84224c 100755 --- a/hosts/goopnet-interface/default.nix +++ b/hosts/goopnet-interface/default.nix @@ -91,6 +91,7 @@ # tools tools.gpg.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..4479532 --- /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; + }; +}