summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/default.nix1
-rw-r--r--home/noweb/default.nix8
2 files changed, 9 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix
index 8184382..8a813cb 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -22,6 +22,7 @@
./git
./dev-utils
./iterm2
+ ./noweb
]
++ builtins.attrValues flakeOutputs.homeModules;
diff --git a/home/noweb/default.nix b/home/noweb/default.nix
new file mode 100644
index 0000000..b7019d4
--- /dev/null
+++ b/home/noweb/default.nix
@@ -0,0 +1,8 @@
+{pkgs, ...}: {
+ home.packages = with pkgs; [noweb texlive.combined.scheme-small];
+
+ # 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 `nowave`.
+ home.sessionVariables.TEXINPUTS = "${pkgs.noweb.tex}/tex/latex/noweb/:$TEXINPUTS";
+}