1
0
Fork 0

Install Autofirma

This commit is contained in:
Avery 2025-02-02 14:05:29 +01:00
parent 8505fdc6dd
commit 0cb22310dc
Signed by: Avery
GPG key ID: B684FD451B692E04
4 changed files with 183 additions and 13 deletions

View file

@ -0,0 +1,17 @@
{ config, pkgs, ... }: {
programs = {
autofirma = {
enable = true;
firefoxIntegration.profiles.Avery.enable = true;
};
dnieremote = {
enable = true;
usbPort = 9500;
};
firefox.policies.SecurityDevices = {
"OpenSC PKCS11" = "${pkgs.opensc}/lib/opensc-pkcs11.so";
"DNIeRemote" =
"${config.programs.dnieremote.finalPackage}/lib/libdnieremotepkcs11.so";
};
};
}