From 140b84df2ba4f86a452bf7b31e275c87f7680884 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 8 Feb 2024 19:56:32 +0800 Subject: [PATCH] fix: typo --- secrets/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secrets/README.md b/secrets/README.md index 1ffa7384..59374a14 100644 --- a/secrets/README.md +++ b/secrets/README.md @@ -151,7 +151,7 @@ It will then symlink the secrets to the path defined by the `age.secrets.. ## Adding a new host -1. `cat` the sytem-level public key(`/etc/ssh/ssh_host_ed25519_key`) of the new host, and send it to an old host which has already been configured. +1. `cat` the sytem-level public key(`/etc/ssh/ssh_host_ed25519_key.pub`) of the new host, and send it to an old host which has already been configured. 2. On the old host: 1. Add the public key to `secrets.nix`, and rekey all the secrets via `sudo agenix -r -i /etc/ssh/ssh_host_ed25519_key`. 2. Commit and push the changes to `nix-secrets`.