-
Notifications
You must be signed in to change notification settings - Fork 0
/
defs.nix
112 lines (105 loc) · 3.12 KB
/
defs.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
# Tiny has no LSPs or debugging at all
tiny = {lib, ...}: {
imports = [./setup.nix];
setup = {
lang = {
enable = lib.mkDefault false;
nix = lib.mkDefault false;
c_cpp = lib.mkDefault false;
configFiles = lib.mkDefault false;
dlang = lib.mkDefault false;
dockerfile = lib.mkDefault false;
elixir = lib.mkDefault false;
haskell = lib.mkDefault false;
julia = lib.mkDefault false;
jvm = lib.mkDefault false;
latex = lib.mkDefault false;
lean4 = lib.mkDefault false;
lua = lib.mkDefault false;
python = lib.mkDefault false;
rust = lib.mkDefault false;
shell = lib.mkDefault false;
webDev = lib.mkDefault false;
};
};
};
# Small has very few LSPs and no debugging
small = {lib, ...}: {
imports = [./setup.nix];
setup = {
pluginGroups.niceToHave = lib.mkDefault true;
lang = {
c_cpp = lib.mkDefault false;
configFiles = lib.mkDefault true;
dlang = lib.mkDefault false;
dockerfile = lib.mkDefault false;
elixir = lib.mkDefault false;
haskell = lib.mkDefault false;
julia = lib.mkDefault false;
jvm = lib.mkDefault false;
latex = lib.mkDefault false;
lean4 = lib.mkDefault false;
lua = lib.mkDefault false;
python = lib.mkDefault false;
rust = lib.mkDefault false;
shell = lib.mkDefault true;
webDev = lib.mkDefault false;
};
};
};
# Medium is for my day-to-day programming
medium = {lib, ...}: {
imports = [./setup.nix];
setup = {
pluginGroups = {
niceToHave = lib.mkDefault true;
programming = lib.mkDefault true;
};
lang = {
c_cpp = lib.mkDefault false;
configFiles = lib.mkDefault true;
dlang = lib.mkDefault false;
dockerfile = lib.mkDefault false;
elixir = lib.mkDefault false;
haskell = lib.mkDefault false;
julia = lib.mkDefault false;
jvm = lib.mkDefault false;
latex = lib.mkDefault true;
lean4 = lib.mkDefault true;
lua = lib.mkDefault false;
python = lib.mkDefault true;
rust = lib.mkDefault true;
shell = lib.mkDefault true;
webDev = lib.mkDefault false;
};
};
};
# Full contains all the LSPs I could want
full = {lib, ...}: {
imports = [./setup.nix];
setup = {
pluginGroups = {
niceToHave = lib.mkDefault true;
programming = lib.mkDefault true;
};
lang = {
c_cpp = lib.mkDefault true;
configFiles = lib.mkDefault true;
dlang = lib.mkDefault true;
dockerfile = lib.mkDefault true;
elixir = lib.mkDefault true;
haskell = lib.mkDefault true;
julia = lib.mkDefault true;
jvm = lib.mkDefault true;
latex = lib.mkDefault true;
lean4 = lib.mkDefault true;
lua = lib.mkDefault true;
python = lib.mkDefault true;
rust = lib.mkDefault true;
shell = lib.mkDefault true;
webDev = lib.mkDefault true;
};
};
};
}