blob: ed4c4e4f825489a85fb1044f029d22d1fdc7d6b1 (
plain) (
blame)
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
|
{ config, pkgs, ... }:
{
environment.systemPackages = [
((with pkgs; emacsPackagesFor emacs29-pgtk).emacsWithPackages (epkgs: with epkgs; [
adoc-mode
cmake-mode
code-review
csharp-mode
d-mode
direnv
dockerfile-mode
ebuild-mode
editorconfig
eglot
elpher
execline
forge
gn-mode
gnuplot-mode
go-mode
graphql-mode
graphviz-dot-mode
groovy-mode
haskell-mode
jam-mode
just-mode
kotlin-mode
lua-mode
magit
markdown-mode
meson-mode
monokai-theme
mutt-mode
ninja-mode
nix-mode
notmuch
org-roam
pass
pod-mode
protobuf-mode
rainbow-delimiters
rust-mode
sdlang-mode
sort-words
toml-mode
tuareg
typescript-mode
udev-mode
vala-mode
yaml-mode
zig-mode
]))
];
systemd.tmpfiles.rules = [
"d ${config.users.users.qyliss.home}/notes 0700 qyliss qyliss"
];
users.users.qyliss.xdg.config.paths."emacs" = with pkgs;
runCommand ".emacs.d" {
nativeBuildInputs = [ emacs29-pgtk ];
} ''
cp ${./early-init.el} early-init.el
cp ${./init.el} init.el
emacs -L . --batch -f batch-byte-compile *.el
install -d $out
install *.el *.elc $out
'';
}
|