From 66374fb29e16904f78dcfe06ca3a4ca184242428 Mon Sep 17 00:00:00 2001 From: Eric Drechsel Date: Thu, 8 Apr 2021 11:43:54 -0700 Subject: [PATCH 1/3] Extend the tutorial to describe location of decrypted secrets --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1a5421c..eba813c 100644 --- a/README.md +++ b/README.md @@ -161,6 +161,8 @@ but, if you want to (change the system based on your system): ```nix age.secrets.secret1.file = ../secrets/secret1.age; ``` + This will cause the secret to be decrypted to `age.secrets.secret1.path` (`/run/secrets/secret1` by default). See [modules/age.nix](modules/age.nix) for per-secret options controlling ownership etc. + 5. NixOS rebuild or use your deployment tool like usual. ## Rekeying From a64940456cd0397e6027d1ea05b3d2c4af097f69 Mon Sep 17 00:00:00 2001 From: Eric Drechsel Date: Thu, 8 Apr 2021 11:47:48 -0700 Subject: [PATCH 2/3] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eba813c..faa34ec 100644 --- a/README.md +++ b/README.md @@ -161,10 +161,11 @@ but, if you want to (change the system based on your system): ```nix age.secrets.secret1.file = ../secrets/secret1.age; ``` - This will cause the secret to be decrypted to `age.secrets.secret1.path` (`/run/secrets/secret1` by default). See [modules/age.nix](modules/age.nix) for per-secret options controlling ownership etc. - + 5. NixOS rebuild or use your deployment tool like usual. + The secret will be decrypted to `age.secrets.secret1.path` (`/run/secrets/secret1` by default). For per-secret options controlling ownership etc, see [modules/age.nix](modules/age.nix). + ## Rekeying If you change the public keys in `secrets.nix`, you should rekey your From 838c08e7b26cdd05f1f9b2f93bba5e5e86a9b889 Mon Sep 17 00:00:00 2001 From: Eric Drechsel Date: Thu, 8 Apr 2021 17:03:08 -0700 Subject: [PATCH 3/3] Update README.md Co-authored-by: asymmetric --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index faa34ec..ed64505 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ but, if you want to (change the system based on your system): 5. NixOS rebuild or use your deployment tool like usual. - The secret will be decrypted to `age.secrets.secret1.path` (`/run/secrets/secret1` by default). For per-secret options controlling ownership etc, see [modules/age.nix](modules/age.nix). + The secret will be decrypted to the value of `age.secrets.secret1.path` (`/run/secrets/secret1` by default). For per-secret options controlling ownership etc, see [modules/age.nix](modules/age.nix). ## Rekeying