nixos/justfile
2026-04-04 23:00:10 +01:00

18 lines
435 B
Makefile

set shell := ["sudo", "bash", "-c"]
[private]
default:
@just --list
[doc("Build and activate the new configuration immediately")]
deploy:
nixos-rebuild switch --flake /etc/nixos#lab
[doc("Build the configuration without activating it")]
check:
nixos-rebuild dry-build --flake /etc/nixos#lab
[doc("Pull latest from Forgejo, then build and activate")]
update:
git pull
nixos-rebuild switch --flake /etc/nixos#lab