This commit is contained in:
Lillian Violet 2026-01-27 15:17:15 +01:00
commit 53e4e8ba94
4 changed files with 64 additions and 0 deletions

28
flake.nix Normal file
View file

@ -0,0 +1,28 @@
{
description = "A very basic typst flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = {
self,
nixpkgs,
}: let
systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
eachSystem = f:
nixpkgs.lib.genAttrs systems (system:
f nixpkgs.legacyPackages.${system});
in {
devShells = eachSystem (pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [
typst
tinymist
typstPackages.fontawesome
font-awesome
];
};
});
};
}