summaryrefslogtreecommitdiff
path: root/modules/emacs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/emacs.nix')
-rw-r--r--modules/emacs.nix30
1 files changed, 27 insertions, 3 deletions
diff --git a/modules/emacs.nix b/modules/emacs.nix
index d5d1346..39c2db8 100644
--- a/modules/emacs.nix
+++ b/modules/emacs.nix
@@ -5,9 +5,33 @@
}:
{
- environment.systemPackages = with pkgs; [
- mu
- ];
+ environment.systemPackages =
+ let
+ # https://wiki.nixos.org/wiki/TexLive
+ # minimal set of latex packages for orgmode
+ # emacs config:
+ # (setq org-latex-complier "lualatex")
+ # (setq org-preview-latex-default-process 'dvisvgm)
+ orgmode-tex = (
+ pkgs.texlive.combine {
+ inherit (pkgs.texlive)
+ scheme-basic
+ dvisvgm
+ dvipng
+ wrapfig
+ amsmath
+ ulem
+ hyperref
+ capt-of
+ ;
+ }
+ );
+ in
+ with pkgs;
+ [
+ mu
+ orgmode-tex
+ ];
services.emacs = {
install = true;