my website
at main 19 lines 807 B view raw view rendered
1# website3 2 3not to be confused with: "web3", actually more like website3¾ 4 5this should reproduce the nix store path on the website: 6`nix build git+https://tangled.org/eeep.ee/website3#website.out --no-link --print-out-paths` 7 8[this](https://tangled.org/eeep.ee/nixos/blob/main/machines/fovps/services/caddy/website.nix) 9is the other part of the code that makes this run and it is a beautifully cursed 10rube goldberg machine that exists just so i can update the website independently 11 12to serve everything locally like in prod you'll have to use this slightly cursed oneliner, i'm afraid: 13```sh 14caddy run -a caddyfile -c <(echo 'http://:8000'; cat "$(nix build .#caddyfile --no-link --print-out-paths)"/etc/caddy/Caddyfile) 15``` 16 17or for development: 18`nix run .#autorebuild -- src/blog` 19and `caddy run --watch`