diff options
author | Minijackson <minijackson@riseup.net> | 2021-06-18 15:28:27 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2021-06-18 15:28:27 +0200 |
commit | cdd3fcb1728059393334fe69345c120623a716a1 (patch) | |
tree | 877dad5a209e42ac2e8884970ba36e9c2265e136 /usecases/desktop/graphical/audio-production.nix | |
parent | a80a089328e002a6a90fc696cd645484358aba72 (diff) | |
download | nixos-config-reborn-cdd3fcb1728059393334fe69345c120623a716a1.tar.gz nixos-config-reborn-cdd3fcb1728059393334fe69345c120623a716a1.zip |
audioProduction: init with musnix
Diffstat (limited to 'usecases/desktop/graphical/audio-production.nix')
-rw-r--r-- | usecases/desktop/graphical/audio-production.nix | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/usecases/desktop/graphical/audio-production.nix b/usecases/desktop/graphical/audio-production.nix new file mode 100644 index 0000000..eabb36d --- /dev/null +++ b/usecases/desktop/graphical/audio-production.nix | |||
@@ -0,0 +1,66 @@ | |||
1 | inputs: | ||
2 | |||
3 | { config, pkgs, lib, ... }: | ||
4 | |||
5 | { | ||
6 | imports = [ | ||
7 | "${inputs.musnix}" | ||
8 | ]; | ||
9 | |||
10 | musnix = { | ||
11 | enable = true; | ||
12 | kernel = { | ||
13 | optimize = true; | ||
14 | realtime = true; | ||
15 | latencytop = true; | ||
16 | }; | ||
17 | }; | ||
18 | |||
19 | users.extraUsers.minijackson = { | ||
20 | packages = with pkgs.unstable; [ | ||
21 | latencytop | ||
22 | |||
23 | jack2Full | ||
24 | qjackctl | ||
25 | patchage | ||
26 | a2jmidid | ||
27 | fluidsynth | ||
28 | qsynth | ||
29 | soundfont-fluid | ||
30 | qsampler | ||
31 | ardour | ||
32 | musescore | ||
33 | hydrogen | ||
34 | lmms | ||
35 | |||
36 | # plugins | ||
37 | calf | ||
38 | fmsynth | ||
39 | zynaddsubfx | ||
40 | helm | ||
41 | distrho | ||
42 | yoshimi | ||
43 | infamousPlugins | ||
44 | carla | ||
45 | cadence | ||
46 | x42-plugins | ||
47 | x42-gmsynth | ||
48 | x42-avldrums | ||
49 | lsp-plugins | ||
50 | ninjas2 | ||
51 | noise-repellent | ||
52 | surge | ||
53 | ]; | ||
54 | extraGroups = [ "audio" ]; | ||
55 | }; | ||
56 | |||
57 | # TODO: upstream adding user-specific packages | ||
58 | environment.variables = { | ||
59 | DSSI_PATH = lib.mkForce "$HOME/.dssi:$HOME/.nix-profile/lib/dssi:/run/current-system/sw/lib/dssi:/etc/profiles/per-user/$USER/lib/dssi"; | ||
60 | LADSPA_PATH = lib.mkForce "$HOME/.ladspa:$HOME/.nix-profile/lib/ladspa:/run/current-system/sw/lib/ladspa:/etc/profiles/per-user/$USER/lib/ladspa"; | ||
61 | LV2_PATH = lib.mkForce "$HOME/.lv2:$HOME/.nix-profile/lib/lv2:/run/current-system/sw/lib/lv2:/etc/profiles/per-user/$USER/lib/lv2"; | ||
62 | LXVST_PATH = lib.mkForce "$HOME/.lxvst:$HOME/.nix-profile/lib/lxvst:/run/current-system/sw/lib/lxvst:/etc/profiles/per-user/$USER/lib/lxvst"; | ||
63 | VST_PATH = lib.mkForce "$HOME/.vst:$HOME/.nix-profile/lib/vst:/run/current-system/sw/lib/vst:/etc/profiles/per-user/$USER/lib/vst"; | ||
64 | VST3_PATH = lib.mkForce "$HOME/.vst3:$HOME/.nix-profile/lib/vst3:/run/current-system/sw/lib/vst3:/etc/profiles/per-user/$USER/lib/vst3"; | ||
65 | }; | ||
66 | } | ||