config/modules/sound/default.nix

54 lines
975 B
Nix

{ pkgs, ... }:
{
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
pulse.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
jack.enable = true;
};
environment.systemPackages = with pkgs; [
# KXStudio stuff
cadence
carla
jack_oscrolloscope
jack_rack
jackmeter
qjackctl
# Audio plugins
AMB-plugins
aether-lv2
artyFX
calf
distrho
helm
ingen
kapitonov-plugins-pack
ladspaPlugins
lv2
metersLv2
noise-repellent
rkrlv2
sorcer
swh_lv2
x42-plugins
zam-plugins
];
environment.variables = {
LADSPA_PATH = "/run/current-system/sw/lib/ladspa";
LV2_PATH = "/run/current-system/sw/lib/lv2";
LXVST_PATH = "/run/current-system/sw/lib/lxvst";
VST3_PATH = "/run/current-system/sw/lib/vst3";
VST_PATH = "/run/current-system/sw/lib/vst";
};
}