typst/flake.nix
2024-10-30 21:21:54 +01:00

27 lines
544 B
Nix

{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs =
{ nixpkgs, ... }:
{
/*
This example assumes your system is x86_64-linux
change as neccesary
*/
devShells.x86_64-linux =
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
{
default = pkgs.mkShell {
packages = [
pkgs.typst
pkgs.typstyle
pkgs.tinymist
pkgs.agebox
];
};
};
};
}