ma hw/smartcard: init

This commit is contained in:
makefu 2018-08-17 13:15:33 +02:00
parent a52170f6ef
commit c50e1bc21b

18
2configs/hw/smartcard.nix Normal file
View file

@ -0,0 +1,18 @@
{ pkgs, ... }:
{
services.pcscd = {
enable = true;
plugins = with pkgs; [ ifdnfc ccid ];
};
environment.systemPackages = with pkgs; [
# need to run ifdnfc-activate before usage
ifdnfc
# pcsc_scan
pcsctools
];
boot.blacklistedKernelModules = [
"pn533" "pn533_usb"
"nfc"
];
}