aboutsummaryrefslogtreecommitdiff
path: root/tex
diff options
context:
space:
mode:
authorChris Wells <chris@mathematicaster.org>2026-02-25 10:39:15 -0600
committerChris Wells <chris@mathematicaster.org>2026-02-25 10:39:15 -0600
commitf2c4d486c0e5763b9fcd92987128df262233c1a9 (patch)
treea78ac2fcd93b60daa80eb12fc8928f251377c35f /tex
downloadtemplates-f2c4d486c0e5763b9fcd92987128df262233c1a9.tar
templates-f2c4d486c0e5763b9fcd92987128df262233c1a9.tar.gz
templates-f2c4d486c0e5763b9fcd92987128df262233c1a9.tar.bz2
templates-f2c4d486c0e5763b9fcd92987128df262233c1a9.tar.lz
templates-f2c4d486c0e5763b9fcd92987128df262233c1a9.tar.xz
templates-f2c4d486c0e5763b9fcd92987128df262233c1a9.tar.zst
templates-f2c4d486c0e5763b9fcd92987128df262233c1a9.zip
Basic templates so farHEADmaster
Diffstat (limited to 'tex')
-rw-r--r--tex/.envrc1
-rw-r--r--tex/.gitignore2
-rw-r--r--tex/flake.nix34
3 files changed, 37 insertions, 0 deletions
diff --git a/tex/.envrc b/tex/.envrc
new file mode 100644
index 0000000..a5dbbcb
--- /dev/null
+++ b/tex/.envrc
@@ -0,0 +1 @@
+use flake .
diff --git a/tex/.gitignore b/tex/.gitignore
new file mode 100644
index 0000000..f8a9891
--- /dev/null
+++ b/tex/.gitignore
@@ -0,0 +1,2 @@
+.latex-build
+.direnv
diff --git a/tex/flake.nix b/tex/flake.nix
new file mode 100644
index 0000000..c5d9ed9
--- /dev/null
+++ b/tex/flake.nix
@@ -0,0 +1,34 @@
+{
+ description = "TeX project";
+
+ inputs = {
+ nixpkgs.url = "github:nixos/nixpkgs";
+ flake-parts.url = "github:hercules-ci/flake-parts";
+ latex-utils.url = "github:jmmaloney4/latex-utils";
+ systems.url = "github:nix-systems/default";
+ };
+
+ outputs =
+ inputs@{ self, flake-parts, ... }:
+ flake-parts.lib.mkFlake { inherit self inputs; } {
+ systems = import inputs.systems;
+
+ imports = [ inputs.latex-utils.modules.flake.latex-utils ];
+
+ latex-utils = {
+ enableVSCode = false;
+ extraTexPackages = [ "scheme-full" ];
+ };
+
+ perSystem =
+ { pkgs, config, ... }:
+ {
+
+ devShells.default = pkgs.mkShellNoCC {
+ inputsFrom = [ config.latex-utils.unifiedTexShell ];
+ nativeBuildInputs = [ ];
+ };
+
+ };
+ };
+}