[shared] Added ssh config for desktop. Justfile to get pub ssh

This commit is contained in:
2025-05-15 21:14:05 +02:00
parent 48ff2cdfd2
commit 55f7a37aaa
4 changed files with 19 additions and 1 deletions

View File

@ -69,6 +69,10 @@ generate-age-from-ssh:
get-public-age-key:
nix shell nixpkgs#age -c age-keygen -y ~/.config/sops/age/keys.txt
# Get the public ssh key from the current user
get-public-ssh-key:
cat ~/.ssh/id_ed25519.pub
# Edit the SOPS secrets file
edit-secrets:
nix run nixpkgs#sops -- shared/secrets/secrets.yaml