1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-15 17:50:51 +00:00

README: add toString to sopsPGPKeyDirs

Better example to avoid: https://github.com/Mic92/sops-nix/issues/175
This commit is contained in:
Jörg Thalheim 2022-05-13 22:45:43 +02:00
parent c2614c4fe6
commit d27137c0a1
No known key found for this signature in database

View file

@ -325,13 +325,13 @@ in
mkShell { mkShell {
# imports all files ending in .asc/.gpg # imports all files ending in .asc/.gpg
sopsPGPKeyDirs = [ sopsPGPKeyDirs = [
"./keys/hosts" "${toString ./.}/keys/hosts"
"./keys/users" "${toString ./.}/keys/users"
]; ];
# Also single files can be imported. # Also single files can be imported.
#sopsPGPKeys = [ #sopsPGPKeys = [
# "./keys/users/mic92.asc" # "${toString ./.}/keys/users/mic92.asc"
# "./keys/hosts/server01.asc" # "${toString ./.}/keys/hosts/server01.asc"
#]; #];
# This hook can also import gpg keys into its own seperate # This hook can also import gpg keys into its own seperate