From c4f7025e5d20af51b4803d7b43f23daf06906138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 3 Jul 2021 09:42:47 +0200 Subject: [PATCH] README: simplify installing sops-nix into shell.nix --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e9d24a..d5ad398 100644 --- a/README.md +++ b/README.md @@ -217,6 +217,11 @@ keys to be shared via version control (i.e. git): ```nix # shell.nix with import {}; +let + sops-nix = builtins.fetchTarball { + url = "https://github.com/Mic92/sops-nix/archive/master.tar.gz"; + }; +in mkShell { # imports all files ending in .asc/.gpg sopsPGPKeyDirs = [ @@ -244,7 +249,7 @@ mkShell { #sopsGPGHome = "${toString ./.}/../gnupg"; nativeBuildInputs = [ - (pkgs.callPackage {}).sops-import-keys-hook + (pkgs.callPackage sops-nix {}).sops-import-keys-hook ]; } ```