From a8481b409a4a333e9214da7fd2a2153323e0c880 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Wed, 23 Jul 2025 23:21:03 +0900 Subject: [PATCH] typst: use flakes again --- files/shell/.shellrc.alias | 6 ++++++ templates/typst.nix | 14 -------------- 2 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 templates/typst.nix diff --git a/files/shell/.shellrc.alias b/files/shell/.shellrc.alias index 616d288..51f5029 100644 --- a/files/shell/.shellrc.alias +++ b/files/shell/.shellrc.alias @@ -20,6 +20,12 @@ alias blame='git show $(git ls-files | fzf -e --reverse --bind "enter:become(git alias nd="nix develop ." alias ns="nix-shell" +# https://github.com/loqusion/typix +alias typix="nix flake init --refresh -t github:loqusion/typix" +alias twatch="nix run .#watch" +alias tbuild="nix run .#build" +alias tlsp="nix-shell -p tinymist" + ### Abbreviations alias dcr='docker compose down && docker compose up -d && docker compose logs -f' alias dh1='du . -h -d1' diff --git a/templates/typst.nix b/templates/typst.nix deleted file mode 100644 index 96cb007..0000000 --- a/templates/typst.nix +++ /dev/null @@ -1,14 +0,0 @@ -# Before updating: -# -# 1. Make sure to be on unstable -# 2. nix-channel --update -# -with (import {}); -mkShell { - buildInputs = [ - (typst.overrideAttrs { version = "0.13.1"; }) - tinymist - ]; -} - -