nixos/justfile
2026-04-04 22:56:47 +01:00

15 lines
403 B
Makefile

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