Web eID: Difference between revisions
Correct invalid option name |
Distinguish system and home options related to Firefox |
||
| Line 1: | Line 1: | ||
eThe Web eID project enables usage of European Union electronic identity (eID) smart cards for secure authentication and digital signing of documents on the web using public-key cryptography. | |||
Check [https://web-eid.eu/|web-eid.eu] for more details and an example application. | Check [https://web-eid.eu/|web-eid.eu] for more details and an example application. | ||
| Line 19: | Line 19: | ||
== Firefox == | == Firefox == | ||
If | Firefox requires an additional browser extension for Web eID to work. If Firefox is enabled with <code>programs.firefox.enable = true</code>, this can specified system-wide, as follows... | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix">programs.firefox.nativeMessagingHosts.packages = [ pkgs.web-eid-app ];</syntaxhighlight> | ||
...or per user with Home Manager, as follows:<syntaxhighlight lang="nix"> | |||
programs.firefox.nativeMessagingHosts = [ pkgs.web-eid-app ]; | programs.firefox.nativeMessagingHosts = [ pkgs.web-eid-app ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
If you're building a | If you're building a Firefox derivation yourself, you can override it with <code>extraNativeMessagingHosts = [ pkgs.web-eid-app ];</code>. | ||
== Google Chrome / Chromium == | == Google Chrome / Chromium == | ||