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 | 2e31d4bc491aa98775194592bea2dabf5d440130 (patch) | |
tree | 372ca252e04499e194ebe68baa23789913a1f3ed /makefu/2configs/hw | |
parent | 0ec29bc7d20e083f3f2fd4adb06af1bf53d71f41 (diff) |
ma hw/smartcard: init
Diffstat (limited to 'makefu/2configs/hw')
-rw-r--r-- | makefu/2configs/hw/smartcard.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/makefu/2configs/hw/smartcard.nix b/makefu/2configs/hw/smartcard.nix new file mode 100644 index 000000000..1e9bca53b --- /dev/null +++ b/makefu/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" + ]; +} |