summaryrefslogtreecommitdiff
path: root/features/user/cli/utils/pandoc.nix
diff options
context:
space:
mode:
Diffstat (limited to 'features/user/cli/utils/pandoc.nix')
-rw-r--r--features/user/cli/utils/pandoc.nix13
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
+ ];
+ };
+}