docs(secrets): fix wrong instructions

This commit is contained in:
2026-03-05 21:39:14 +01:00
parent 434ee6c8b6
commit 414a3879d0

View File

@@ -5,13 +5,13 @@
```bash ```bash
nix run nixpkgs#ssh-to-age -- \ nix run nixpkgs#ssh-to-age -- \
-private-key \ -private-key \
-i $HOME/.ssh/id_ed25519 \ -i /etc/ssh/ssh_host_ed25519_key \
-o $HOME/.config/sops/age/keys.txt -o $HOME/.config/sops/age/keys.txt
``` ```
2) Obtain age recipient for the machine 2) Obtain age recipient for the machine
```bash ```bash
cat /etc/ssh/ssh_host_ed25519_key.pub | nix run nixpkgs#ssh-to-age | wl-copy cat /etc/ssh/ssh_host_ed25519_key.pub | nix run nixpkgs#ssh-to-age
``` ```
3) Paste obtained key into `.sops.yaml` 3) Paste obtained key into `.sops.yaml`