nixlab/justfile
2025-06-18 21:41:53 +01:00

15 lines
353 B
Makefile

[private]
default:
@just --list
# Deploy the infrastructure through Terraform
infra:
nix build -o tf/homelab.tf.json && cd tf && terraform apply
# Deploy the systems through deploy-rs
deploy:
ssh-add host-key; deploy --auto-rollback false --magic-rollback false
# Rekey all of the secrets
rekey:
cd secrets && agenix -r -i ../host-key