summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/smartcard.nix
blob: 1e9bca53bb4d9bc78338ad37ee05925e0e6a1af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"
  ];
}