mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-02-22 21:05:44 +08:00
feat: add age plugin and fido2 hmac support
Co-authored-by: brianmcgee <brian@41north.dev>
This commit is contained in:
parent
d7593b87b0
commit
899e202643
4 changed files with 31 additions and 0 deletions
|
|
@ -249,6 +249,14 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
plugins = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.package;
|
||||
default = [ ];
|
||||
description = ''
|
||||
List of plugins to use for sops decryption.
|
||||
'';
|
||||
};
|
||||
|
||||
generateKey = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
|
|
@ -357,6 +365,8 @@ in
|
|||
))
|
||||
];
|
||||
|
||||
PATH = lib.makeBinPath cfg.age.plugins;
|
||||
|
||||
QUBES_GPG_DOMAIN = lib.mkIf cfg.gnupg.qubes-split-gpg.enable (
|
||||
lib.mkDefault cfg.gnupg.qubes-split-gpg.domain
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue