blob: 04452dcb218d4126a181ac575a091631767e6e65 (
plain) (
tree)
|
|
* 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
|