-
Notifications
You must be signed in to change notification settings - Fork 1
/
wsl-nixmacs.nix
78 lines (74 loc) · 1.88 KB
/
wsl-nixmacs.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
{
config,
lib,
epkgs,
pkgs,
...
}: {
layers = {
ivy.enable = true;
completion.enable = true;
fish.enable = true;
nix.enable = true;
latex.enable = true;
rust.enable = true;
git.enable = true;
python.enable = true;
lsp = {
enable = true;
ui = true;
};
};
settings = {
config-command.enable = true;
cancel-minibuffer-with-mouse = true;
minibuffer-inherit-input-mode = false;
};
package = {
adaptive-wrap.enable = false;
which-key.enable = false;
company.use-package.custom.company-dabbrev-downcase = "nil";
direnv.enable = true;
xah-fly-keys = {
enable = true;
settings = {
keyboard-layout = "dvorak";
major-mode-bind-key = ".";
command-mode-bindings = {
";" = "self-insert-command";
"#" = "xah-comment-dwim";
"'" = "xref-find-definitions";
"-" = "xref-pop-marker-stack";
};
};
use-package.bind."<end>" = "xah-fly-command-mode-activate";
use-package.bind."<menu>" = "xah-fly-command-mode-activate";
use-package.bind."<VoidSymbol>" = "xah-fly-command-mode-activate";
};
unicode-fonts.enable = true;
tex.settings.TeX-view-program-selection.output-pdf = "Zathura";
doom-modeline.use-package.custom.doom-modeline-icon = true;
nix-mode.use-package.demand = true;
protobuf-mode.enable = true;
flyspell = {
enable = true;
use-package.custom.aspell-dictionary = ''"en_GB-ise"'';
};
};
appearance = {
theme = {
enable = true;
package = epkgs.doom-themes;
themeName = "doom-dracula";
extraConfig = ''
; Enable flashing mode-line on errors
(doom-themes-visual-bell-config)
(doom-themes-org-config)
'';
};
fonts = {
unicode-font = "DejaVu Sans";
# font = "Source Code Pro 10";
};
};
}