nixos/justfile
lew f29e88ad1e 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.
2026-04-05 02:07:03 +01:00

21 lines
572 B
Makefile

[private]
default:
@just --list
[doc("Build and activate the new configuration immediately")]
deploy:
sudo nixos-rebuild switch --flake /etc/nixos#lab
[doc("Build the configuration without activating it")]
check:
sudo nixos-rebuild dry-build --flake /etc/nixos#lab
[doc("Pull latest from Forgejo, then build and activate")]
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