Files
nixos-config/modules/home/pandoc.nix
2026-06-01 22:24:31 +02:00

50 lines
869 B
Nix

{ pkgs, ... }:
let
eisvogel = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/Wandmalfarbe/pandoc-latex-template/v2.5.0/eisvogel.tex";
sha256 = "16b9mgjw629sk0bqbpad6kk44ah91ca3alspcb20zy0lb42j0ljb";
};
texliveEnv = pkgs.texliveSmall.withPackages (
ps: with ps; [
adjustbox
background
bidi
collectbox
csquotes
everypage
filehook
footmisc
footnotebackref
framed
fvextra
letltxmacro
listings
ly1
mdframed
mweights
needspace
pagecolor
sourcecodepro
sourcesanspro
titling
ucharcat
ulem
unicode-math
upquote
xecjk
xurl
zref
]
);
in
{
home.packages = [
pkgs.pandoc
texliveEnv
];
home.file.".local/share/pandoc/templates/eisvogel.latex".source = eisvogel;
}