Link eid-mw as a PKCS#11 module in firefox

This commit is contained in:
Charlotte Van Petegem 2020-07-04 15:36:33 +02:00
parent 5be83f01f3
commit 0ec7aaf7cf
3 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,7 @@
{ ... }:
let
files = [
"firefox.nix"
"pass.nix"
"ssh.nix"
"zeroad.nix"

3
overlays/firefox.nix Normal file
View file

@ -0,0 +1,3 @@
self: super: {
firefox = super.firefox.override { extraNativeMessagingHosts = [ self.passff-host ]; pkcs11Modules = [ self.eid-mw ]; };
}

View file

@ -1,4 +1,3 @@
self: super: {
firefox = super.firefox.override { extraNativeMessagingHosts = [ self.passff-host ]; };
pass = (super.pass-wayland.override { pass = super.pass-wayland; }).withExtensions (ext: [ ext.pass-otp ]);
}