summaryrefslogtreecommitdiffstats
path: root/2configs
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
commitc50e1bc21b3bac49c6c4b90c672f1d5e0e14a190 (patch)
treeb8c8cbbe60403433b6972ba3482c6dc65fc3599f /2configs
parenta52170f6efb86ce6a49510d9524167275b95a7e6 (diff)
ma hw/smartcard: init
Diffstat (limited to '2configs')
-rw-r--r--2configs/hw/smartcard.nix18
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"
+ ];
+}
[cgit] Unable to lock slot /tmp/cgit/f5100000.lock: No such file or directory (2)