chore: remove unused typst templates

This commit is contained in:
2025-09-19 09:25:24 +02:00
parent a8481b409a
commit 3d49d5e784
6 changed files with 2 additions and 55 deletions

View File

@@ -2,9 +2,6 @@
name = "bibtex" name = "bibtex"
auto-format = false auto-format = false
[language-server.typst-lsp.config]
exportPdf = "never"
[[language]] [[language]]
name = "c" name = "c"
indent = { tab-width = 8, unit = " " } indent = { tab-width = 8, unit = " " }

View File

@@ -26,6 +26,8 @@ alias twatch="nix run .#watch"
alias tbuild="nix run .#build" alias tbuild="nix run .#build"
alias tlsp="nix-shell -p tinymist" alias tlsp="nix-shell -p tinymist"
alias nlatex="nix-shell -p texlive.combined.scheme-full"
### Abbreviations ### Abbreviations
alias dcr='docker compose down && docker compose up -d && docker compose logs -f' alias dcr='docker compose down && docker compose up -d && docker compose logs -f'
alias dh1='du . -h -d1' alias dh1='du . -h -d1'

View File

@@ -1,35 +0,0 @@
{
description = "Nightly Typst with Typst LSP";
inputs.typst-lsp.url = "github:nvarner/typst-lsp";
inputs.typst.url = "github:typst/typst";
inputs.utils.url = "github:numtide/flake-utils";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
outputs = {
nixpkgs,
utils,
typst,
typst-lsp,
...
}:
utils.lib.eachDefaultSystem (system: let
typst-overlay = _self: _super: {
typst-lsp = typst-lsp.packages.${system}.default;
typst = typst.packages.${system}.default.overrideAttrs (_old: {
dontCheck = true;
});
};
pkgs = nixpkgs.legacyPackages.${system}.appendOverlays [typst-overlay];
typst-shell = pkgs.mkShell {
nativeBuildInputs = [
pkgs.typst-lsp
pkgs.typst
];
};
in {
devShells.default = typst-shell;
overlays.default = typst-overlay;
legacyPackages = pkgs;
});
}

View File

@@ -1,2 +0,0 @@
Start normal shell with `nix-shell -p <program>`
Run file with `nix-shell <file>`

View File

@@ -1,8 +0,0 @@
with (import <nixpkgs> {});
mkShell {
buildInputs = [
python3
sage
];
}

View File

@@ -1,7 +0,0 @@
with (import <nixpkgs> {});
mkShell {
buildInputs = [
python3
texlive.combined.scheme-full
];
}