From 99dfe10ebf290bd1b7ff136bbc995e5894031801 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 23 Feb 2026 11:58:04 +0100 Subject: [PATCH] fix: add pdf support to pandoc module --- home/modules/pandoc.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/home/modules/pandoc.nix b/home/modules/pandoc.nix index 2bcc706..02806e8 100644 --- a/home/modules/pandoc.nix +++ b/home/modules/pandoc.nix @@ -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 ]; }; }