From 4122aac774b7506b2da47646663cdc7c0d775d4d Mon Sep 17 00:00:00 2001 From: axel simon Date: Thu, 27 Feb 2025 22:32:28 +0000 Subject: [PATCH] Update secrets.md Improve disk encryption secrets section, making it more obvious what to replace from the example. --- docs/howtos/secrets.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/howtos/secrets.md b/docs/howtos/secrets.md index 8d95ee78..4c4c72cd 100644 --- a/docs/howtos/secrets.md +++ b/docs/howtos/secrets.md @@ -57,9 +57,13 @@ nixos-anywhere \ root@yourip ``` -In the above example, replace `"my-super-safe-password"` with your actual -encryption password, and `my-disk-encryption-password` with the relevant entry -in your pass password store. Also, ensure to replace `'.#your-host'` and +In the above example, replace the following: +- `"my-super-safe-password"` with your actual encryption password +- `/tmp/disk-1.key` with the path to the `passwordFile` as defined in your Disko + disk configuration file (same for `disk-2.key` if using) +- `my-disk-encryption-password` with the relevant entry in your pass password store. + +Also, ensure to replace `'.#your-host'` and `root@yourip` with your actual flake and IP address, respectively. ## Example: Using existing SSH host keys