config/modules/sound/default.nix
2024-08-07 23:11:30 +02:00

54 lines
1 KiB
Nix

{ pkgs, ... }:
{
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
pulse.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
};
environment.systemPackages = with pkgs; [
# KXStudio stuff
carla
jack_rack
qjackctl
# Audio plugins
AMB-plugins
aether-lv2
artyFX
calf
distrho
helm
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";
};
desktop.hiddenApps = [
"carla-control.desktop"
"carla-jack-multi.desktop"
"carla-jack-single.desktop"
"carla-patchbay.desktop"
"carla-rack.desktop"
];
}