website as flake input, declarative build via wynne-deploy

Source fetched by Nix from Forgejo, build runs on server with
DB access for prerendering. No manual git clone/pull needed.
This commit is contained in:
Lewis Wynne 2026-04-05 02:07:03 +01:00
parent 0c36b497c8
commit f29e88ad1e
3 changed files with 20 additions and 7 deletions

View file

@ -14,3 +14,8 @@ check:
update:
git pull
sudo nixos-rebuild switch --flake /etc/nixos#lab
[doc("Pull latest website source, then rebuild and activate")]
update-site:
nix flake update website
sudo nixos-rebuild switch --flake /etc/nixos#lab