blob: e5bf32b16aae3ab611d054afc05eff740dd51610 (
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
|
{ ... }:
{
flake.modules.homeManager.emacs =
{ pkgs, config, ... }:
let
tex = (
pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-medium
dvisvgm
dvipng # for preview and export as html
# svg transparent
etoolbox
subfiles
enumitem
wrapfig
amsmath
ulem
hyperref
capt-of
;
}
);
myEmacs = (pkgs.emacsPackagesFor pkgs.emacs30).emacsWithPackages (
epkgs: with epkgs; [
# vterm
# ghostel
treesit-grammars.with-all-grammars
]
);
in
{
services.emacs = {
enable = true;
package = myEmacs;
};
home.packages = with pkgs; [
mu
emacsPackages.mu4e
isync
ispell
poppler-utils
tex
ghostscript
haskell-language-server
myEmacs
];
};
}
|