From d27137c0a1daa745d45ee2c1886cafbc5afef04c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 13 May 2022 22:45:43 +0200 Subject: [PATCH] README: add toString to sopsPGPKeyDirs Better example to avoid: https://github.com/Mic92/sops-nix/issues/175 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5a57e29..53d4d6a 100644 --- a/README.md +++ b/README.md @@ -325,13 +325,13 @@ in mkShell { # imports all files ending in .asc/.gpg sopsPGPKeyDirs = [ - "./keys/hosts" - "./keys/users" + "${toString ./.}/keys/hosts" + "${toString ./.}/keys/users" ]; # Also single files can be imported. #sopsPGPKeys = [ - # "./keys/users/mic92.asc" - # "./keys/hosts/server01.asc" + # "${toString ./.}/keys/users/mic92.asc" + # "${toString ./.}/keys/hosts/server01.asc" #]; # This hook can also import gpg keys into its own seperate