Welcome to my NixOS configuration repository.
It contains my system configuration as well as custom Nix packages and development environments.
One of the highlights of this repository is the LuaMetaTeX package located in the
pkgs/context subdirectory.
This Nix package is based on the excellent work of Marco Feltmann
and has been adapted for a modern flake-based setup.
- Up-to-date sources – uses the current repository from contextgarden/context
- Essential fonts – downloads the
texmf.ziparchive from Pragma ADE - Ready-to-use commands – builds
luametatex,mtxrun, andcontextbinaries that mirror upstream behavior
The ConTeXt typesetting system, primarily developed by Hans Hagen, offers a leaner and more structured codebase than LaTeX.
In practice, ConTeXt provides a cleaner macro language, integrated fonts and layouts, and very high-quality PDF output.
From the repository root:
nix build .#contextThe resulting binaries will appear in ./result/bin/.
To show more detailed build information:
nix build .#context --show-traceA legacy non-flake build still works for compatibility:
nix-build -A luametatex pkgs/contextThis repository also serves as a backup for my personal NixOS and Home-Manager configuration.
It may not be optimal in every respect, but it reflects my current setup and customization efforts.
To apply changes to your system:
sudo nixos-rebuild switchIf fonts are missing or new ones were installed:
fc-cache -rFeel free to explore, adapt, and reuse any part of this configuration for your own NixOS setup.