aboutsummaryrefslogtreecommitdiff
path: root/modules/programs/latex.nix
blob: f5788acae460936fceda36b9e3875d2e77d0bc59 (plain)
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
{
  flake.modules.homeManager.latex =
    {
      pkgs,
      ...
    }:
    {
      home.packages = with pkgs; [
        (texliveSmall.withPackages (
          tpkgs: with tpkgs; [
            collection-basic
            collection-latex
            collection-latexrecommended
            biblatex
          ]
        ))
        biber
      ];

      programs.pandoc = {
        enable = true;
        defaults = {
          pdf-engine = "pdfetex";
        };
      };
    };
}