The repo for my personal site, built with NextJS and designed for running with Bun through Nix.
The NextJS app can be built using Nix and Bun with the following command:
nix build .#frontend-appThat will output a result folder with an entrypoint script inside that can
be used to run the NextJS site as a standalone app with:
./result/entrypointYou can also just run the app in the same way:
nix run .#frontend-appYou can build a docker image with nix and copy into the docker daemon like so:
nix run .#frontend-image.copyToDockerDaemon