diff --git a/templates/typst.flake.nix b/templates/flakes/typst.flake.nix similarity index 100% rename from templates/typst.flake.nix rename to templates/flakes/typst.flake.nix diff --git a/templates/howto.md b/templates/howto.md new file mode 100644 index 0000000..0ba060f --- /dev/null +++ b/templates/howto.md @@ -0,0 +1,2 @@ +Start normal shell with `nix-shell -p ` +Run file with `nix-shell ` diff --git a/templates/typst.nix b/templates/typst.nix new file mode 100644 index 0000000..32ec136 --- /dev/null +++ b/templates/typst.nix @@ -0,0 +1,8 @@ +with (import {}); +mkShell { + buildInputs = [ + (typst.overrideAttrs { version = "0.11.1"; }) + ]; +} + +