flake.nix (463B)
1 { 2 description = "CV"; 3 inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 4 5 outputs = { self, nixpkgs }: 6 let 7 systems = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; 8 forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system}); 9 in { 10 devShells = forAllSystems (pkgs: { 11 default = pkgs.mkShell { 12 buildInputs = with pkgs; [ typst typstyle ]; 13 }; 14 }); 15 }; 16 }