diff options
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -59,18 +59,29 @@ nix run github:nix-community/nixos-anywhere -- --flake .#rivendell --build-on re Update records through the [[https://dash.cloudflare.com/2c659eeaf2ae9a0206c589c706b3748e/fcuny.net][console]]. * Secrets -Start by synchronizing the SSH key by running =sync-ssh-key= in the repository. Then, to create or edit a secret: +Get the identity under =secrets/identity.txt= with: #+begin_src sh cd (git rev-parse --show-toplevel)/secrets -agenix -i ~/.ssh/agenix -e users/fcuny/llm.age +age-plugin-yubikey --list --slot 1 > identity.txt #+end_src -And to rekey a secret: +To create or edit a secret: #+begin_src sh cd (git rev-parse --show-toplevel)/secrets -agenix -i ~/.ssh/agenix -r +agenix -i identity.txt -e users/fcuny/llm.age #+end_src +And to rekey the secrets: +#+begin_src sh +cd (git rev-parse --show-toplevel)/secrets +agenix -i identity.txt -r +#+end_src + +You can validate that the file is correct with: +#+begin_src sh +cd (git rev-parse --show-toplevel)/secrets +nix eval --file secrets.nix +#+end_src * Network ** Wireguard *** New host |
