diff --git a/files/helix/.config/helix/languages.toml b/files/helix/.config/helix/languages.toml index 16ad8ae..a096bba 100644 --- a/files/helix/.config/helix/languages.toml +++ b/files/helix/.config/helix/languages.toml @@ -2,9 +2,6 @@ name = "bibtex" auto-format = false -[language-server.typst-lsp.config] -exportPdf = "never" - [[language]] name = "c" indent = { tab-width = 8, unit = " " } diff --git a/files/shell/.shellrc.alias b/files/shell/.shellrc.alias index 51f5029..23e8b4a 100644 --- a/files/shell/.shellrc.alias +++ b/files/shell/.shellrc.alias @@ -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' diff --git a/templates/flakes/typst.flake.nix b/templates/flakes/typst.flake.nix deleted file mode 100644 index a545f6b..0000000 --- a/templates/flakes/typst.flake.nix +++ /dev/null @@ -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; - }); -} diff --git a/templates/howto.md b/templates/howto.md deleted file mode 100644 index 0ba060f..0000000 --- a/templates/howto.md +++ /dev/null @@ -1,2 +0,0 @@ -Start normal shell with `nix-shell -p ` -Run file with `nix-shell ` diff --git a/templates/sage.nix b/templates/sage.nix deleted file mode 100644 index 9f2dcda..0000000 --- a/templates/sage.nix +++ /dev/null @@ -1,8 +0,0 @@ -with (import {}); -mkShell { - buildInputs = [ - python3 - sage - ]; -} - diff --git a/templates/tex.nix b/templates/tex.nix deleted file mode 100644 index 129c029..0000000 --- a/templates/tex.nix +++ /dev/null @@ -1,7 +0,0 @@ -with (import {}); -mkShell { - buildInputs = [ - python3 - texlive.combined.scheme-full - ]; -}