chore: remove unused typst templates
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
name = "bibtex"
|
||||
auto-format = false
|
||||
|
||||
[language-server.typst-lsp.config]
|
||||
exportPdf = "never"
|
||||
|
||||
[[language]]
|
||||
name = "c"
|
||||
indent = { tab-width = 8, unit = " " }
|
||||
|
||||
@@ -26,6 +26,8 @@ alias twatch="nix run .#watch"
|
||||
alias tbuild="nix run .#build"
|
||||
alias tlsp="nix-shell -p tinymist"
|
||||
|
||||
alias nlatex="nix-shell -p texlive.combined.scheme-full"
|
||||
|
||||
### Abbreviations
|
||||
alias dcr='docker compose down && docker compose up -d && docker compose logs -f'
|
||||
alias dh1='du . -h -d1'
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
Start normal shell with `nix-shell -p <program>`
|
||||
Run file with `nix-shell <file>`
|
||||
@@ -1,8 +0,0 @@
|
||||
with (import <nixpkgs> {});
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
python3
|
||||
sage
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
with (import <nixpkgs> {});
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
python3
|
||||
texlive.combined.scheme-full
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user