fix: website waits on forgejo

This commit is contained in:
Lewis Wynne 2026-04-07 13:58:42 +01:00
parent b443cac85f
commit 60d300cb43

View file

@ -39,7 +39,7 @@ in
# Always rebuilds because wynne bakes DB content (guestbook) into pages at build time
systemd.services.wynne-rebuild = {
description = "Clone/pull and build wynne.rs";
after = [ "network-online.target" ];
after = [ "network-online.target" "forgejo.service" ];
path = [ pkgs.nodejs pkgs.bash ];
environment = {
ASTRO_DB_REMOTE_URL = "file:${dataDir}/data/guestbook.db";