inputs: { config, pkgs, lib, ... }: { imports = [ "${inputs.musnix}" ]; musnix.enable = true; users.extraUsers.minijackson = { packages = with pkgs.unstable; [ latencytop helvum a2jmidid ardour bespokesynth cardinal fluidsynth giada hydrogen lmms musescore patchage qjackctl qsampler qsynth soundfont-fluid # plugins CHOWTapeModel aether-lv2 cadence calf carla distrho drumgizmo fmsynth guitarix helm infamousPlugins lsp-plugins ninjas2 noise-repellent surge-XT sfizz x42-avldrums x42-gmsynth x42-plugins yabridge yabridgectl yoshimi zynaddsubfx # Soundfonts soundfont-ydp-grand soundfont-fluid ]; extraGroups = [ "audio" ]; }; environment.pathsToLink = [ "/share/soundfonts" ]; # TODO: upstream adding user-specific packages environment.variables = { DSSI_PATH = lib.mkForce "$HOME/.dssi:$HOME/.nix-profile/lib/dssi:/run/current-system/sw/lib/dssi:/etc/profiles/per-user/$USER/lib/dssi"; LADSPA_PATH = lib.mkForce "$HOME/.ladspa:$HOME/.nix-profile/lib/ladspa:/run/current-system/sw/lib/ladspa:/etc/profiles/per-user/$USER/lib/ladspa"; LV2_PATH = lib.mkForce "$HOME/.lv2:$HOME/.nix-profile/lib/lv2:/run/current-system/sw/lib/lv2:/etc/profiles/per-user/$USER/lib/lv2"; LXVST_PATH = lib.mkForce "$HOME/.lxvst:$HOME/.nix-profile/lib/lxvst:/run/current-system/sw/lib/lxvst:/etc/profiles/per-user/$USER/lib/lxvst"; VST_PATH = lib.mkForce "$HOME/.vst:$HOME/.nix-profile/lib/vst:/run/current-system/sw/lib/vst:/etc/profiles/per-user/$USER/lib/vst"; VST3_PATH = lib.mkForce "$HOME/.vst3:$HOME/.nix-profile/lib/vst3:/run/current-system/sw/lib/vst3:/etc/profiles/per-user/$USER/lib/vst3"; }; }