feat: moar nix

This commit is contained in:
nullishamy 2025-06-18 21:41:53 +01:00
parent 7e3bf4d6f3
commit 2025eb74a4
Signed by: amy
SSH key fingerprint: SHA256:WmV0uk6WgAQvDJlM8Ld4mFPHZo02CLXXP5VkwQ5xtyk
23 changed files with 1408 additions and 15 deletions

15
justfile Normal file
View 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