nix-dotfiles/modules/pro_audio.nix

44 lines
1.2 KiB
Nix

{ pkgs, ... }:
let
variables = {
DSSI_PATH = "$HOME/.dssi:$HOME/.nix-profile/lib/dssi:/run/current-system/sw/lib/dssi";
LADSPA_PATH = "$HOME/.ladspa:$HOME/.nix-profile/lib/ladspa:/run/current-system/sw/lib/ladspa";
LV2_PATH = "$HOME/.lv2:$HOME/.nix-profile/lib/lv2:/run/current-system/sw/lib/lv2";
LXVST_PATH = "$HOME/.lxvst:$HOME/.nix-profile/lib/lxvst:/run/current-system/sw/lib/lxvst";
VST_PATH = "$HOME/.vst:$HOME/.nix-profile/lib/vst:/run/current-system/sw/lib/vst";
VST3_PATH = "$HOME/.vst3:$HOME/.nix-profile/lib/vst3:/run/current-system/sw/lib/vst3";
};
in
{
home.packages = with pkgs; [
# ardour
carla
rnnoise
# artyFX
# boops
# geonkick
lsp-plugins
# # noise-repellent
speech-denoiser
# stochas
# surge
talentedhack
tunefish
x42-plugins
];
home.sessionVariables = variables;
home.file = {
".lv2" = { source = ~/.nix-profile/lib/lv2; };
# ".dssi" = { source= ~/.nix-profile/lib/dssi; };
# ".ladspa" = { source = ~/.nix-profile/lib/ladspa; };
# ".lxvst" = { source = ~/.nix-profile/lib/lxvst; };
".vst" = { source = ~/.nix-profile/lib/vst; };
# ".vst3" = { source = ~/.nix-profile/lib/vst3; };
};
}