diff options
author | makefu <github@syntax-fehler.de> | 2018-08-17 13:15:33 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-08-17 13:15:33 +0200 |
commit | c50e1bc21b3bac49c6c4b90c672f1d5e0e14a190 (patch) | |
tree | b8c8cbbe60403433b6972ba3482c6dc65fc3599f /2configs | |
parent | a52170f6efb86ce6a49510d9524167275b95a7e6 (diff) |
ma hw/smartcard: init
Diffstat (limited to '2configs')
-rw-r--r-- | 2configs/hw/smartcard.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2configs/hw/smartcard.nix b/2configs/hw/smartcard.nix new file mode 100644 index 000000000..1e9bca53b --- /dev/null +++ b/2configs/hw/smartcard.nix @@ -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" + ]; +} |