1
0
Fork 0
forked from lukas/nixos-config
nixos-config/hosts/pinix/localServices
pijukka 609c27ce15 calendar: move calendar-web frontend to its own Forgejo repo
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.
2026-07-30 09:28:41 +02:00
..
calendar calendar: move calendar-web frontend to its own Forgejo repo 2026-07-30 09:28:41 +02:00
phanpy docs: document Phanpy local-only posting requirements, update Vikunja task list 2026-07-29 12:07:01 +02:00
prosody agent(xmpp): persist Codex sessions 2026-07-30 00:08:28 +02:00
dashboard.nix updates 2025-09-27 11:34:23 +02:00
default.nix prosody: agent@ turntaking; migrate agent listener to codex worker on blunix; calendar personal feed 2026-07-29 23:29:59 +02:00
fileserver-internal.nix cleanup 2025-09-14 13:05:09 +02:00
forgejo.nix calendar: move calendar-web frontend to its own Forgejo repo 2026-07-30 09:28:41 +02:00
gotosocial.nix service(gotosocial): restrict OIDC access by LDAP group 2026-07-28 17:03:20 +02:00
mazanoke.nix aq 2025-09-27 12:24:04 +02:00
packages.nix calendar: move calendar-web frontend to its own Forgejo repo 2026-07-30 09:28:41 +02:00
phanpy.nix platform: declarativize pinix services and deployment 2026-07-27 23:46:41 +02:00
restic.nix delete out-commented stuff 2025-09-14 23:32:16 +02:00
secrets.nix secrets: remove plaintext credentials 2026-07-28 01:26:10 +02:00
tailscale.nix Parameterize domains and implement local override system 2025-10-01 21:45:28 +02:00
vikunja.nix service(pinix): allow non-routable webhook targets in vikunja 2026-07-28 22:50:19 +02:00
WEBDAV-SMB.md service(pinix): add tailnet-only SMB WebDAV share 2026-07-28 17:58:10 +02:00
webdav.nix fix(pinix): improve SMB compatibility for Apple clients 2026-07-28 18:58:49 +02:00
webhook.nix calendar: move calendar-web frontend to its own Forgejo repo 2026-07-30 09:28:41 +02:00
website.nix host(pinix): restrict website preview to tailnet 2026-07-28 16:28:14 +02:00
xmpp-web.nix host(pinix): migrate Prosody and add anonymous web chat 2026-07-28 13:21:00 +02:00