cv/flake.nix
2026-03-20 06:36:39 +00:00

26 lines
508 B
Nix

{
description = "Typst CV document";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs =
{ self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
typst
inter
];
shellHook = ''
export TYPST_FONT_PATHS="${pkgs.inter}/share/fonts:/x/fonts/tx02"
'';
};
};
}