From 93d2616930367dea9960434e8fbf137fd5a559de Mon Sep 17 00:00:00 2001 From: oluceps Date: Mon, 4 Nov 2024 22:02:05 +0800 Subject: [PATCH] + improve docs --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index abf8978..6b31304 100644 --- a/README.md +++ b/README.md @@ -49,19 +49,25 @@ Adding nixosModule config: { imports = [ inputs.vaultix.nixosModules.default ]; vaultix = { + settings = { + storageLocation = # relative to flake root, used for storing host public key - # re-encrypted secrets. - storageLocation = "./secret/renc/${config.networking.hostName}"; + "./secret/renc/${config.networking.hostName}"; + # extraRecipients = # not supported yet, plain to used in edit command # [ data.keys.ageKey ]; + identity = # See https://github.com/str4d/age-plugin-yubikey # Also supports age native secrets (with password encrypted) (self + "/secret/age-yubikey-identity-0000ffff.txt.pub"); }; + secrets = { + # this parts keeps identical with agenix example = { file = ./secret/example.age; mode = "640"; @@ -71,7 +77,6 @@ Adding nixosModule config: # symlink = true; # both not supported yet # path = "/some/place"; }; - # ... }; }; }