nixos-config/.envrc
2024-11-28 01:14:34 +08:00

5 lines
105 B
Plaintext

use flake
if has sops; then
export TF_ENCRYPTION=$(sops --extract '["tofu"]' -d infra/secrets.yaml)
fi