aboutsummaryrefslogtreecommitdiff
path: root/slides/flake.nix
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 /slides/flake.nix
downloadtemplates-master.tar
templates-master.tar.gz
templates-master.tar.bz2
templates-master.tar.lz
templates-master.tar.xz
templates-master.tar.zst
templates-master.zip
Basic templates so farHEADmaster
Diffstat (limited to 'slides/flake.nix')
-rw-r--r--slides/flake.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/slides/flake.nix b/slides/flake.nix
new file mode 100644
index 0000000..f96e412
--- /dev/null
+++ b/slides/flake.nix
@@ -0,0 +1,47 @@
+{
+ description = "TeX paper";
+
+ 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,
+ nixpkgs,
+ flake-parts,
+ latex-utils,
+ ...
+ }:
+ flake-parts.lib.mkFlake { inherit self inputs; } {
+ systems = import inputs.systems;
+
+ imports = [ latex-utils.modules.flake.latex-utils ];
+
+ latex-utils = {
+ enableVSCode = false;
+ documents = [
+ {
+ name = "slides.pdf";
+ src = ./.;
+ extraTexPackages = [ "beamer" ];
+ }
+ ];
+ };
+
+ perSystem =
+ { config, pkgs, ... }:
+ {
+
+ devShells.default = pkgs.mkShellNoCC {
+ inputsFrom = [ config.latex-utils.unifiedTexShell ];
+ nativeBuildInputs = [ ];
+ };
+
+ };
+
+ };
+}