feat: moar nix
This commit is contained in:
parent
7e3bf4d6f3
commit
2025eb74a4
23 changed files with 1408 additions and 15 deletions
15
justfile
Normal file
15
justfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue