From 08023ac7fd9506b042dc5298c0b035f5e853a9c1 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 27 Sep 2024 21:56:12 +0400 Subject: [PATCH] dev/emacs: make texlive download less bloat --- modules/dev/editors/emacs/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/dev/editors/emacs/default.nix b/modules/dev/editors/emacs/default.nix index 050b8343..1eeebb53 100644 --- a/modules/dev/editors/emacs/default.nix +++ b/modules/dev/editors/emacs/default.nix @@ -10,6 +10,12 @@ let cfg = config.modules.dev.editors.emacs; + # so we dont cry later on why texLive is MASSIVE + tex = (pkgs.texlive.combine { + inherit (pkgs.texlive) scheme-basic + dvisvgm dvipng # for preview and export as html + wrapfig amsmath ulem hyperref capt-of; + }); myEmacs = pkgs.emacsWithPackagesFromUsePackage { config = ../../../../config/emacs/emacs.org; @@ -114,8 +120,7 @@ in { # doc-view unoconv # org to pdf - # this might be bloat... - texliveMedium + tex # lsp emacs-lsp-booster # zenity-color-picker