summaryrefslogtreecommitdiff
path: root/shared/home-manager/noweb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shared/home-manager/noweb/default.nix')
-rw-r--r--shared/home-manager/noweb/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/shared/home-manager/noweb/default.nix b/shared/home-manager/noweb/default.nix
new file mode 100644
index 0000000..1506431
--- /dev/null
+++ b/shared/home-manager/noweb/default.nix
@@ -0,0 +1,16 @@
+{pkgs, ...}: {
+ home.packages = with pkgs; [
+ noweb
+ texliveFull
+ yalafi-shell
+ ];
+
+ programs.neovim.plugins = with pkgs; [
+ vim-noweb
+ ];
+
+ # Prepend nowebs STY files to the search path. I chose to do it globally,
+ # rather than using `makeWrapper` because I sometimes want to manually invoke
+ # `pdflatex` and the like on the output of `noweave`.
+ home.sessionVariables.TEXINPUTS = "${pkgs.noweb.tex}/tex/latex/noweb/:$TEXINPUTS";
+}