Replace sops-gpg-hook with sops-import-keys-hook

This commit is contained in:
Jörg Thalheim 2021-07-03 07:36:22 +02:00
parent 7918c59b39
commit 73e19bf11b
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4
11 changed files with 246 additions and 19 deletions

View file

@ -6,7 +6,11 @@
};
in rec {
sops-init-gpg-key = pkgs.callPackage ./pkgs/sops-init-gpg-key {};
sops-pgp-hook = pkgs.callPackage ./pkgs/sops-pgp-hook { };
sops-pgp-hook = pkgs.lib.warn ''
sops-pgp-hook is deprecated, use sops-import-keys-hook instead.
Also see https://github.com/Mic92/sops-nix/issues/98
'' pkgs.callPackage ./pkgs/sops-pgp-hook { };
sops-import-keys-hook = pkgs.callPackage ./pkgs/sops-import-keys-hook { };
inherit sops-install-secrets;
# backwards compatibility