16 lines
353 B
Makefile
16 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
|