1
0
Fork 0

Install Autofirma

This commit is contained in:
Avery 2025-02-02 14:05:29 +01:00
parent 04c72ae653
commit 6b9cc73aa0
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";
};
};
}

View file

@ -1 +1 @@
{ ... }: { imports = [ ./desktop ./development ./scripts ]; }
{ ... }: { imports = [ ./desktop ./development ./scripts ./autofirma.nix ]; }