my website
website3#
not to be confused with: "web3", actually more like website3¾
this should reproduce the nix store path on the website:
nix build git+https://tangled.org/eeep.ee/website3#website.out --no-link --print-out-paths
this is the other part of the code that makes this run and it is a beautifully cursed rube goldberg machine that exists just so i can update the website independently
to serve everything locally like in prod you'll have to use this slightly cursed oneliner, i'm afraid:
caddy run -a caddyfile -c <(echo 'http://:8000'; cat "$(nix build .#caddyfile --no-link --print-out-paths)"/etc/caddy/Caddyfile)
or for development:
nix run .#autorebuild -- src/blog
and caddy run --watch