Generate pgp keys for sops.
This commit is contained in:
@@ -101,6 +101,19 @@ makeScope newScope (
|
||||
"flux_ssh_key"
|
||||
] (key_name: (callPackage ./package/ssh-key/package.nix (additional_vars // { inherit key_name; })))
|
||||
);
|
||||
pgp-keys = (
|
||||
builtins.mapAttrs
|
||||
(
|
||||
key_name: key_config:
|
||||
(callPackage ./package/pgp-key/package.nix (additional_vars // { inherit key_name; } // key_config))
|
||||
)
|
||||
{
|
||||
"flux_gpg" = {
|
||||
pgp_comment = "flux secrets";
|
||||
pgp_name = "flux sops";
|
||||
};
|
||||
}
|
||||
);
|
||||
client-configs = (
|
||||
builtins.mapAttrs
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user