fix: add pdf support to pandoc module
This commit is contained in:
@@ -1,20 +1,19 @@
|
|||||||
{
|
{
|
||||||
lib,
|
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
pkgs,
|
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; [
|
home.packages = with pkgs; [
|
||||||
pandoc
|
|
||||||
haskellPackages.pandoc-crossref
|
haskellPackages.pandoc-crossref
|
||||||
|
pandoc
|
||||||
|
texliveSmall
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user