2021-11-29 04:11:58 -08:00
|
|
|
{ pkgs, lib, ... }:
|
2021-11-17 04:50:18 -08:00
|
|
|
|
|
|
|
{
|
|
|
|
environment.systemPackages = with pkgs; [
|
2021-11-29 04:11:58 -08:00
|
|
|
qjackctl
|
2022-04-02 04:14:08 -07:00
|
|
|
libjack2 # needed for overtone with pipewire
|
|
|
|
jack2 # needed for overtone with pipewire
|
|
|
|
|
|
|
|
# GUI
|
|
|
|
carla
|
|
|
|
|
|
|
|
# Plugins
|
2021-11-17 04:50:18 -08:00
|
|
|
helm
|
|
|
|
surge
|
|
|
|
distrho
|
|
|
|
orca-c
|
2021-11-29 04:11:58 -08:00
|
|
|
supercollider
|
|
|
|
dirt
|
2021-11-17 04:50:18 -08:00
|
|
|
sunvox
|
|
|
|
vcv-rack
|
2021-11-29 04:11:58 -08:00
|
|
|
lmms
|
2022-04-01 18:54:10 -07:00
|
|
|
bespokesynth
|
2022-04-02 04:14:08 -07:00
|
|
|
lsp-plugins
|
2022-04-01 18:54:10 -07:00
|
|
|
helio-workstation
|
|
|
|
projectm # milkdrop visualizer
|
|
|
|
|
2022-04-02 04:14:08 -07:00
|
|
|
# DAWs
|
|
|
|
# ardour
|
|
|
|
# reaper
|
2022-07-13 01:29:45 -07:00
|
|
|
renoise
|
2021-11-29 04:11:58 -08:00
|
|
|
];
|
2021-11-17 04:50:18 -08:00
|
|
|
|
2021-11-29 04:11:58 -08:00
|
|
|
hardware.pulseaudio.enable = lib.mkForce false;
|
2021-11-17 04:50:18 -08:00
|
|
|
security.rtkit.enable = true;
|
|
|
|
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
2021-11-29 04:11:58 -08:00
|
|
|
jack.enable = true;
|
2021-11-17 04:50:18 -08:00
|
|
|
config = {
|
2021-11-29 04:11:58 -08:00
|
|
|
pipewire."context.properties"."default.clock.rate" = "48000";
|
2021-11-17 04:50:18 -08:00
|
|
|
pipewire-pulse."stream.properties"."resample.quality" = 15;
|
|
|
|
client."stream.properties"."resample.quality" = 15;
|
|
|
|
client-rt."stream.properties"."resample.quality" = 15;
|
2022-04-01 18:54:10 -07:00
|
|
|
#jack."context.modules" = [];
|
2021-11-17 04:50:18 -08:00
|
|
|
};
|
2021-11-29 04:11:58 -08:00
|
|
|
#media-session.config.bluez-monitor.properties = {
|
|
|
|
# "bluez5.headset-roles" = [ "hsp_hs" "hsp_ag" ];
|
|
|
|
# "bluez5.codecs" = [ "aac" "ldac" "aptx_hd" ];
|
|
|
|
#};
|
2021-11-17 04:50:18 -08:00
|
|
|
};
|
|
|
|
|
2021-11-29 04:11:58 -08:00
|
|
|
#systemd.services.bluethoot.serviceConfig.ExecStart = [
|
|
|
|
# ""
|
|
|
|
# "${config.hardware.bluetooth.package}/libexec/bluetooth/bluetoothd --noplugin=sap"
|
|
|
|
#];
|
2022-04-01 18:54:10 -07:00
|
|
|
boot.kernelModules = [ "snd-seq" "snd-rawmidi" ]; # midi sequence kernel mods
|
|
|
|
hardware.pulseaudio.package = pkgs.pulseaudio.override { jackaudioSupport = true; };
|
|
|
|
|
2021-11-17 04:50:18 -08:00
|
|
|
}
|