config/modules/sound/default.nix

58 lines
1,022 B
Nix
Raw Permalink Normal View History

2022-02-05 21:42:36 +02:00
{ 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
guitarix
helm
infamousPlugins
ingen
kapitonov-plugins-pack
ladspaPlugins
lv2
metersLv2
noise-repellent
rakarrack
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";
};
}