forked from lukas/nixos-config
Source now lives in lukas/calendar-web instead of this flake, matching the website/dashboard pattern: pinix checks it out at /var/www/calendar-web, nginx serves the dist/ output directly, and a new gitpull-calendar-web webhook hook does `git pull && npm ci && npm run build` (esbuild) on push. Frontend/style-only changes no longer need a nixos-rebuild. - webhook.nix: new hook + build script - packages.nix: add nodejs (npm needed for the build script) - forgejo.nix: enable ENABLE_PUSH_CREATE_USER, needed to create the new repo by pushing to it rather than via the web UI - web.nix: nginx root points at /var/www/calendar-web/dist - README.md: document the new deploy path Still needs a Forgejo-side webhook added manually in the calendar-web repo settings (no API token available to script it): target http://127.0.0.1:9000/hooks/gitpull-calendar-web, push events on dev. |
||
|---|---|---|
| .. | ||
| calendar | ||
| phanpy | ||
| prosody | ||
| dashboard.nix | ||
| default.nix | ||
| fileserver-internal.nix | ||
| forgejo.nix | ||
| gotosocial.nix | ||
| mazanoke.nix | ||
| packages.nix | ||
| phanpy.nix | ||
| restic.nix | ||
| secrets.nix | ||
| tailscale.nix | ||
| vikunja.nix | ||
| WEBDAV-SMB.md | ||
| webdav.nix | ||
| webhook.nix | ||
| website.nix | ||
| xmpp-web.nix | ||