1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 13:39:46 +01:00

firefox: Allow to add PKCS11 modules

This commit is contained in:
Brieuc Dubois 2024-07-05 02:04:20 +02:00
parent c514e862cd
commit f58cc188b1

View file

@ -207,6 +207,7 @@ let
package.override (old: {
cfg = old.cfg or { } // fcfg;
extraPolicies = (old.extraPolicies or { }) // cfg.policies;
pkcs11Modules = (old.pkcs11Modules or [ ]) ++ cfg.pkcs11Modules;
})
else
(pkgs.wrapFirefox.override { config = bcfg; }) package { };
@ -707,6 +708,14 @@ in {
`true`.
'';
};
pkcs11Modules = mkOption {
type = types.listOf types.package;
default = [ ];
description = ''
Additional packages to be loaded as PKCS #11 modules in Firefox.
'';
};
};
};