# iana-angl site Build the static Leptos/Trunk site: ```sh nix build .#iana-angl ``` ## NixOS integration Add this flake as an input, import its module, and provide the built package and virtual host domain: ```nix { inputs.iana-angl.url = "path:/home/yukkop/pj/iana-angl"; outputs = { nixpkgs, ... }@inputs: { nixosConfigurations.my-host = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ inputs.iana-angl.nixosModules.iana-angl ({ pkgs, ... }: { services.iana-angl = { enable = true; package = inputs.iana-angl.packages.${pkgs.system}.iana-angl; domain = "lessons.example.com"; }; }) ]; }; }; } ``` The module enables nginx, serves the package as a static SPA, and falls back to `index.html` for client-side routes. Configure TLS, ACME, firewall ports, and reverse-proxy policy separately in the consuming system.