eeyyy, we got overtone

This commit is contained in:
Anish L 2022-04-02 11:54:10 +10:00
parent 95de5abb7a
commit c35aa4014e
2 changed files with 31 additions and 4 deletions

View file

@ -10,7 +10,6 @@ in
systemPackages = with pkgs; [ systemPackages = with pkgs; [
binutils binutils
coreutils coreutils
direnv
dnsutils dnsutils
dosfstools dosfstools
git git
@ -186,6 +185,16 @@ in
eval "$(${pkgs.starship}/bin/starship init bash)" eval "$(${pkgs.starship}/bin/starship init bash)"
''; '';
interactiveShellInit = '' interactiveShellInit = ''
flakify() {
if [ ! -e flake.nix ]; then
nix flake new -t github:nix-community/nix-direnv .
elif [ ! -e .envrc ]; then
echo "use flake" > .envrc
direnv allow
fi
vim flake.nix
}
eval "$(${pkgs.direnv}/bin/direnv hook bash)" eval "$(${pkgs.direnv}/bin/direnv hook bash)"
''; '';
enableCompletion = true; enableCompletion = true;

View file

@ -3,6 +3,8 @@
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
qjackctl qjackctl
libjack2
jack2
helm helm
surge surge
distrho distrho
@ -14,12 +16,24 @@
sunvox sunvox
vcv-rack vcv-rack
lmms lmms
#bespoke-synth bespokesynth
lsp-plugins # needed for overtone with pipewire
helio-workstation
projectm # milkdrop visualizer
# TODO
# i think this needs a nix-shell with
# ghci packages with tidal installed
# and then also create the script file that runs tidalvim
# https://github.com/tidalcycles/vim-tidal/blob/1.4.8/bin/tidalvim
# nix-shell -p "haskellPackages.ghcWithPackages (pkgs: [pkgs.tidal])" --run ghci
# https://github.com/tidalcycles/Tidal/issues/637
#haskellPackages.tidal
# sc3 plugins
# https://gist.github.com/gosub/a42e265ec38d9df203d6
#ardour #ardour
#reaper #reaper
#renoise #renoise
helio-workstation
projectm # milkdrop visualizer
]; ];
hardware.pulseaudio.enable = lib.mkForce false; hardware.pulseaudio.enable = lib.mkForce false;
@ -36,6 +50,7 @@
pipewire-pulse."stream.properties"."resample.quality" = 15; pipewire-pulse."stream.properties"."resample.quality" = 15;
client."stream.properties"."resample.quality" = 15; client."stream.properties"."resample.quality" = 15;
client-rt."stream.properties"."resample.quality" = 15; client-rt."stream.properties"."resample.quality" = 15;
#jack."context.modules" = [];
}; };
#media-session.config.bluez-monitor.properties = { #media-session.config.bluez-monitor.properties = {
# "bluez5.headset-roles" = [ "hsp_hs" "hsp_ag" ]; # "bluez5.headset-roles" = [ "hsp_hs" "hsp_ag" ];
@ -47,4 +62,7 @@
# "" # ""
# "${config.hardware.bluetooth.package}/libexec/bluetooth/bluetoothd --noplugin=sap" # "${config.hardware.bluetooth.package}/libexec/bluetooth/bluetoothd --noplugin=sap"
#]; #];
boot.kernelModules = [ "snd-seq" "snd-rawmidi" ]; # midi sequence kernel mods
hardware.pulseaudio.package = pkgs.pulseaudio.override { jackaudioSupport = true; };
} }