We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c6c7d0 commit 849b49fCopy full SHA for 849b49f
modules/nix-darwin/default.nix
@@ -290,6 +290,16 @@ in
290
'';
291
};
292
293
+ plugins = lib.mkOption {
294
+ type = lib.types.listOf lib.types.package;
295
+ default = [
296
+ pkgs.age-plugin-fido2-hmac
297
+ ];
298
+ description = ''
299
+ List of plugins to use for sops decryption.
300
+ '';
301
+ };
302
+
303
generateKey = lib.mkOption {
304
type = lib.types.bool;
305
default = false;
@@ -386,6 +396,8 @@ in
386
396
sops.environment.SOPS_GPG_EXEC = lib.mkIf (cfg.gnupg.home != null || cfg.gnupg.sshKeyPaths != [ ]) (
387
397
lib.mkDefault "${pkgs.gnupg}/bin/gpg"
388
398
);
399
400
+ sops.environment.PATH = lib.makeBinPath cfg.age.plugins;
389
401
}
390
402
];
391
403
0 commit comments