{ description = "Small, customizable Typst websites"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; outputs = { nixpkgs, ... }: let systems = [ "aarch64-darwin" "x86_64-darwin" "aarch64-linux" "x86_64-linux" ]; forAllSystems = nixpkgs.lib.genAttrs systems; in { apps = forAllSystems (system: let magic = import ./default.nix { pkgs = nixpkgs.legacyPackages.${system}; }; init = { type = "app"; program = "${magic.init}/bin/typst-web-init"; }; in { default = init; inherit init; }); }; }