diff options
Diffstat (limited to '')
| -rw-r--r-- | docs/secrets.org | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/secrets.org b/docs/secrets.org new file mode 100644 index 0000000..04452dc --- /dev/null +++ b/docs/secrets.org @@ -0,0 +1,15 @@ +* Secrets + +** SSH keys + +Get the ssh key from 1password with the following command: +#+begin_src sh + op read "op://Private/nixos/private key?ssh-format=openssh" > ~/.ssh/nixos + op read "op://Private/nixos/public key?ssh-format=openssh" > ~/.ssh/nixos.pub +#+end_src + +To create or edit a secret: +#+begin_src + cd (git rev-parse --show-toplevel)/secrets + agenix -i ~/.ssh/nixos -e users/fcuny/llm.age +#+end_src |
