mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
firefox: Allow to add PKCS11 modules
This commit is contained in:
parent
c514e862cd
commit
f58cc188b1
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue