From 6fa95838d62899cdafa639cff178b1c59723c455 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Sun, 16 Mar 2025 23:38:20 +0100 Subject: [PATCH 1/3] add audio plugin paths path --- nixos-modules/audio/default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/nixos-modules/audio/default.nix b/nixos-modules/audio/default.nix index 60042cb..bab56c7 100644 --- a/nixos-modules/audio/default.nix +++ b/nixos-modules/audio/default.nix @@ -17,6 +17,27 @@ in config = lib.mkIf cfg.enable { security.rtkit.enable = true; + environment.sessionVariables = + let + makePluginPath = + format: + "$HOME/.${format}:" + + (lib.makeSearchPath format [ + "$HOME/.nix-profile/lib" + "/run/current-system/sw/lib" + "/etc/profiles/per-user/$USER/lib" + ]); + in + { + CLAP_PATH = lib.mkDefault (makePluginPath "clap"); + DSSI_PATH = lib.mkDefault (makePluginPath "dssi"); + LADSPA_PATH = lib.mkDefault (makePluginPath "ladspa"); + LV2_PATH = lib.mkDefault (makePluginPath "lv2"); + LXVST_PATH = lib.mkDefault (makePluginPath "lxvst"); + VST3_PATH = lib.mkDefault (makePluginPath "vst3"); + VST_PATH = lib.mkDefault (makePluginPath "vst"); + }; + services.pipewire = { enable = true; systemWide = false; From acb3d61a4e39750686986e620cfe8cf0269edae3 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Sun, 16 Mar 2025 23:46:52 +0100 Subject: [PATCH 2/3] add audio plugins --- nixos-modules/audio/default.nix | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/nixos-modules/audio/default.nix b/nixos-modules/audio/default.nix index bab56c7..cf80eed 100644 --- a/nixos-modules/audio/default.nix +++ b/nixos-modules/audio/default.nix @@ -17,6 +17,51 @@ in config = lib.mkIf cfg.enable { security.rtkit.enable = true; + environment.systemPackages = with pkgs; [ + mod-arpeggiator-lv2 + rkrlv2 + bolliedelayxt-lv2 + airwindows-lv2 + aether-lv2 + swh_lv2 + neural-amp-modeler-lv2 + mda_lv2 + x42-plugins + tunefish + mod-distortion + infamousPlugins + drumgizmo + distrho-ports + bshapr + bchoppr + gxplugins-lv2 + talentedhack + plujain-ramp + mooSpace + artyFX + boops + metersLv2 + bs2b-lv2 + oxefmsynth + ninjas2 + bespokesynth + zam-plugins + surge-XT + surge + lsp-plugins + ladspaPlugins + AMB-plugins + nova-filters + caps + kapitonov-plugins-pack + csa + zam-plugins + autotalent + tap-plugins + xsynth_dssi + + ]; + environment.sessionVariables = let makePluginPath = From 461597d1fc80910179b88ec09febc0ef9ef51766 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Mon, 17 Mar 2025 19:29:19 +0100 Subject: [PATCH 3/3] tunefish brocken --- nixos-modules/audio/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-modules/audio/default.nix b/nixos-modules/audio/default.nix index cf80eed..830b3ae 100644 --- a/nixos-modules/audio/default.nix +++ b/nixos-modules/audio/default.nix @@ -27,7 +27,7 @@ in neural-amp-modeler-lv2 mda_lv2 x42-plugins - tunefish + #tunefish mod-distortion infamousPlugins drumgizmo