Files
nix/secrets/decrypt.sh
Gustavo "Guz" L. de Mello 5ce99497d7 refactor!: I went too close into the sun
Simlified everything, things were getting out of control
2024-04-08 16:37:29 -03:00

11 lines
236 B
Bash
Executable File

#!/usr/bin/env bash
export SOPS_AGE_KEY_FILE=/home/guz/.config/sops/age/keys.txt
secrets_dir="/home/guz/.nix/secrets"
sops --output $secrets_dir/homelab-lesser-secrets.decrypted.json \
-d $secrets_dir/homelab-lesser-secrets.json