From 78de2cd6665b948b79c743a2df824900c8adcc3c Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Wed, 9 Jul 2025 16:24:12 +0200 Subject: [PATCH] Config/Navi: Add sops cheats --- config/navi/christoph.cheat | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config/navi/christoph.cheat b/config/navi/christoph.cheat index 3cc6a07a..10826c5b 100644 --- a/config/navi/christoph.cheat +++ b/config/navi/christoph.cheat @@ -196,8 +196,17 @@ $ mode: echo -e "--list-keys \tList public keys\n--list-secret-keys\tList gpg --delete-secret-and-public-key % gpg -# Export public GPG key -gpg --export --armor --output +# Export GPG key +gpg --armor --output +$ mode: echo -e "--export \tExport public key\n--export-secret-keys\tExport private key" --- --column 1 + +% sops +# Edit secrets.yaml +sops --config ~/NixFlake/system/modules/sops/sops.yaml ~/NixFlake/system/modules/sops/secrets.yaml + +% sops +# Rekey secrets.yaml +sops --config ~/NixFlake/system/modules/sops/sops.yaml updatekeys ~/NixFlake/system/modules/sops/secrets.yaml ; =========================== ; CODE