nixlab/justfile

16 lines
353 B
Makefile
Raw Permalink Normal View History

2025-06-18 21:41:53 +01:00
[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