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:
parent
c2614c4fe6
commit
d27137c0a1
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue