summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-08-17 13:15:33 +0200
committermakefu <github@syntax-fehler.de>2018-08-17 13:15:33 +0200
commit2e31d4bc491aa98775194592bea2dabf5d440130 (patch)
tree372ca252e04499e194ebe68baa23789913a1f3ed /makefu
parent0ec29bc7d20e083f3f2fd4adb06af1bf53d71f41 (diff)
ma hw/smartcard: init
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/hw/smartcard.nix18
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"
+ ];
+}