diff options
Diffstat (limited to 'features/user/cli/utils/pandoc.nix')
| -rw-r--r-- | features/user/cli/utils/pandoc.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/features/user/cli/utils/pandoc.nix b/features/user/cli/utils/pandoc.nix new file mode 100644 index 0000000..899bd4b --- /dev/null +++ b/features/user/cli/utils/pandoc.nix @@ -0,0 +1,13 @@ +{ config, pkgs, lib, ... }: let + cfg = config.features.cli.utils.pandoc; +in { + options.features.cli.utils.pandoc.enable = lib.mkEnableOption "pandoc"; + config = lib.mkIf cfg.enable { + programs.pandoc = { + enable = true; + }; + home.packages = with pkgs; [ + texliveSmall + ]; + }; +} |
