From 787a44459643229bad4f5f6d15ef320dab2edc7b Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Wed, 1 Jun 2022 00:48:48 +0200 Subject: [PATCH] doc: firefox: Show how to use PKCS#11 Proxy Module `p11-kit-proxy.so` makes it able to use multiple PKCS#11 modules and manage them through p11-kit(8). Fix indentation while here. --- doc/builders/packages/firefox.section.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/builders/packages/firefox.section.md b/doc/builders/packages/firefox.section.md index 6f7d39c8b5e..0dd786a599d 100644 --- a/doc/builders/packages/firefox.section.md +++ b/doc/builders/packages/firefox.section.md @@ -26,10 +26,14 @@ The `wrapFirefox` function allows to pass policies, preferences and extensions t Pocket = false; Snippets = false; }; - UserMessaging = { - ExtensionRecommendations = false; - SkipOnboarding = true; - }; + UserMessaging = { + ExtensionRecommendations = false; + SkipOnboarding = true; + }; + SecurityDevices = { + # Use a proxy module rather than `nixpkgs.config.firefox.smartcardSupport = true` + "PKCS#11 Proxy Module" = "${pkgs.p11-kit}/lib/p11-kit-proxy.so"; + }; }; extraPrefs = ''