stockholm/makefu/2configs/hw/smartcard.nix
2018-08-17 13:15:33 +02:00

19 lines
319 B
Nix

{ 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"
];
}