typst: use flakes again
This commit is contained in:
@@ -20,6 +20,12 @@ alias blame='git show $(git ls-files | fzf -e --reverse --bind "enter:become(git
|
|||||||
alias nd="nix develop ."
|
alias nd="nix develop ."
|
||||||
alias ns="nix-shell"
|
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
|
### 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'
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
# Before updating:
|
|
||||||
#
|
|
||||||
# 1. Make sure to be on unstable
|
|
||||||
# 2. nix-channel --update
|
|
||||||
#
|
|
||||||
with (import <nixpkgs> {});
|
|
||||||
mkShell {
|
|
||||||
buildInputs = [
|
|
||||||
(typst.overrideAttrs { version = "0.13.1"; })
|
|
||||||
tinymist
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user