Deterministic Typst compilation with Nix
See the code
Typix aims to make it easier to use Nix in Typst projects.
nix run .#build)nix run .#watch)mkTypstDerivationAfter installing Nix and enabling flakes, you can initialize a flake from the default template:
nix flake init --refresh -t github:loqusion/typix
Alternatively, you can use a template demonstrating Typst packages usage:
nix flake init --refresh -t 'github:loqusion/typix#with-typst-packages'
Here are some commands you can run from any template:
nix run .#watch — watch the input files and recompile on changesnix run .#build — compile and copy the output to the current directoryFor more information, check out the docs.
Nix
87.3%
Python
7.6%
Typst
2.3%
Shell
1.3%
TeX
1.3%
Deterministic Typst compilation with Nix
See the code
Typix aims to make it easier to use Nix in Typst projects.
nix run .#build)nix run .#watch)mkTypstDerivationAfter installing Nix and enabling flakes, you can initialize a flake from the default template:
nix flake init --refresh -t github:loqusion/typix
Alternatively, you can use a template demonstrating Typst packages usage:
nix flake init --refresh -t 'github:loqusion/typix#with-typst-packages'
Here are some commands you can run from any template:
nix run .#watch — watch the input files and recompile on changesnix run .#build — compile and copy the output to the current directoryFor more information, check out the docs.
Nix
87.3%
Python
7.6%
Typst
2.3%
Shell
1.3%
TeX
1.3%