Skip to content

Commit

Permalink
+ improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Nov 4, 2024
1 parent 1c187f5 commit 93d2616
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -71,7 +77,6 @@ Adding nixosModule config:
# symlink = true; # both not supported yet
# path = "/some/place";
};
# ...
};
};
}
Expand Down

0 comments on commit 93d2616

Please sign in to comment.