From 0ba1393f6bdb4d6764ddd28da9bf12dfcde34bb0 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Wed, 9 Jul 2025 18:34:57 +0200 Subject: [PATCH] Config/Navi: Add mkpasswd cheat + fix sops paths --- config/navi/christoph.cheat | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config/navi/christoph.cheat b/config/navi/christoph.cheat index 79bd0b91..07895e01 100644 --- a/config/navi/christoph.cheat +++ b/config/navi/christoph.cheat @@ -179,7 +179,7 @@ $ file: eza -1 watch -d -c -n 0.5 nvidia-smi ; =========================== -; GPG +; SECRETS ; =========================== % gpg @@ -202,11 +202,11 @@ $ mode: echo -e "--export \tExport public key\n--export-secret-keys\t % sops # Edit secrets.yaml -sops --config ~/NixFlake/system/modules/sops/sops.yaml ~/NixFlake/system/modules/sops/secrets.yaml +sops ~/NixFlake/system/modules/sops-nix/secrets.yaml % sops # Rekey secrets.yaml -sops --config ~/NixFlake/system/modules/sops/sops.yaml updatekeys ~/NixFlake/system/modules/sops/secrets.yaml +sops updatekeys ~/NixFlake/system/modules/sops-nix/secrets.yaml % ssh # Generate a new SSH key @@ -222,6 +222,10 @@ age-keygen -o age-keygen -y $ key: eza -f -1 +% mkpasswd +# Print the hash of a password +echo "" | mkpasswd -s + ; =========================== ; CODE ; ===========================