From 5e68735d269522aa0d08052517f9844a275aa707 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Thu, 3 Sep 2020 21:12:02 -0700 Subject: [PATCH] README improvements --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c98a26..db12114 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ used for editing and rekeying the secret files. * can use public keys available on GitHub for users (for example, https://github.com/ryantm.keys) * No GPG * Very little code, so it should be easy for you to audit +* Encrypted secrets are stored in the Nix store, so a separate distribution mechanism is not necessary ## Installation @@ -111,6 +112,15 @@ You don't need to install it: nix run github:ryantm/agenix -- --help ``` +if you want to (change the system based on your system): + +```nix +{ + environment.systemPackages = [ agenix.defaultPackage.x86_64-linux ]; +} +``` + + ## Tutorial @@ -138,7 +148,7 @@ nix run github:ryantm/agenix -- --help ``` 4. Add secret to NixOS module config: ```nix - age.secrets.secret1 = ../secrets/secret1.age; + age.secrets.secret1.file = ../secrets/secret1.age; ``` 5. NixOS rebuild or use your deployment too like usual.