grace/typst_web_magic
git clone https://git.gae.moe/grace/typst_web_magic
5b6c1ba
main
1{ 2description = "Small, customizable Typst websites" ; 3 4inputs . nixpkgs . url = "github:NixOS/nixpkgs/nixpkgs-unstable" ; 5 6outputs = { nixpkgs , ...} : 7let 8systems = [ "aarch64-darwin" "x86_64-darwin" "aarch64-linux" "x86_64-linux" ]; 9forAllSystems = nixpkgs . lib . genAttrs systems ; 10in { 11apps = forAllSystems ( system : 12let 13magic = import ./default.nix { pkgs = nixpkgs . legacyPackages .${ system }; }; 14init = { 15type = "app" ; 16program = " ${ magic . init } /bin/typst-web-init" ; 17}; 18in { 19default = init ; 20inherit init ; 21}); 22}; 23}