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.
This commit is contained in:
Klemens Nanni 2022-06-01 00:48:48 +02:00
parent 34364c9f5f
commit 787a444596

View file

@ -26,10 +26,14 @@ The `wrapFirefox` function allows to pass policies, preferences and extensions t
Pocket = false; Pocket = false;
Snippets = false; Snippets = false;
}; };
UserMessaging = { UserMessaging = {
ExtensionRecommendations = false; ExtensionRecommendations = false;
SkipOnboarding = true; 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 = '' extraPrefs = ''