this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add template for typst

yemou d104a183 c90885e4

+26 -1
+1 -1
flake.nix
··· 16 16 description = "generic nix flake"; 17 17 }; 18 18 } 19 - // nixpkgs.lib.genAttrs [ "c" "erlang" "go" "java" "python" ] (language: { 19 + // nixpkgs.lib.genAttrs [ "c" "erlang" "go" "java" "python" "typst" ] (language: { 20 20 path = ./${language}; 21 21 description = "${language} nix flake"; 22 22 });
+25
typst/flake.nix
··· 1 + { 2 + description = "TODO: Describe the flake"; 3 + 4 + inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable"; 5 + 6 + outputs = 7 + { self, nixpkgs }: 8 + let 9 + systems = [ "x86_64-linux" ]; 10 + forSystems = func: nixpkgs.lib.genAttrs systems (system: func (import nixpkgs { inherit system; })); 11 + in 12 + { 13 + formatter = forSystems (pkgs: pkgs.nixfmt-tree.override { settings.formatter.nixfmt.options = [ "-w 120" ]; }); 14 + 15 + devShells = forSystems (pkgs: { 16 + default = pkgs.mkShell { 17 + buildInputs = with pkgs; [ 18 + tinymist 19 + typst 20 + typstyle 21 + ]; 22 + }; 23 + }); 24 + }; 25 + }