fix: add pdf support to pandoc module

This commit is contained in:
2026-02-23 11:58:04 +01:00
parent c002741419
commit 99dfe10ebf

View File

@@ -1,20 +1,19 @@
{
lib,
config,
lib,
pkgs,
...
}:
let
cfg = config.pandoc;
in
{
options.pandoc.enable = lib.mkEnableOption "pandoc with crossref";
options.pandoc = {
enable = lib.mkEnableOption "pandoc";
};
config = lib.mkIf cfg.enable {
config = lib.mkIf config.pandoc.enable {
home.packages = with pkgs; [
pandoc
haskellPackages.pandoc-crossref
pandoc
texliveSmall
];
};
}