helm/hosts/profiles/music/default.nix

64 lines
1.5 KiB
Nix
Raw Normal View History

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