summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-01-20 12:21:40 +0100
committerQuentin Aristote <quentin@aristote.fr>2022-01-20 16:01:14 +0100
commit3d147f1170e32c870dbb861bd26901692ced4aaf (patch)
treefa8ff8ee54e380e6554dea02ebf27bb44119aeef
parentcc73868d14f7b75e599b33b728c7946d66f5260f (diff)
latex : change default scheme ; add minted dependencies
-rw-r--r--modules/latex.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/latex.nix b/modules/latex.nix
index 16f0017..d880605 100644
--- a/modules/latex.nix
+++ b/modules/latex.nix
@@ -15,7 +15,11 @@ let
++ cfg.latexmk.extraFlags);
latexBuildInput = cfg.texlive.combine ((cfg.packages cfg.texlive)
// (optionalAttrs cfg.latexmk.enable { inherit (cfg.texlive) latexmk; })
- // (optionalAttrs cfg.minted.enable { inherit (cfg.texlive) minted; }));
+ // (optionalAttrs cfg.minted.enable {
+ inherit (cfg.texlive)
+ minted catchfile etoolbox fancyvrb float framed fvextra ifplatform kvoptions
+ lineno pdftexcmds upquote xcolor xstring;
+ }));
in {
options.latex = {
enable = mkEnableOption { name = "LaTex"; };
@@ -32,8 +36,8 @@ in {
packages = mkOption {
type = with types; functionTo attrs;
- default = tl: { inherit (tl) scheme-full; };
- defaultText = literalExample "tl: { inherit (tl) scheme-full; }";
+ default = tl: { inherit (tl) scheme-basic; };
+ defaultText = literalExample "tl: { inherit (tl) scheme-basic; }";
description = ''
Collection of packages that will be made available to the environment.
'';