ma hw/smartcard: init
This commit is contained in:
parent
a52170f6ef
commit
c50e1bc21b
18
2configs/hw/smartcard.nix
Normal file
18
2configs/hw/smartcard.nix
Normal file
|
@ -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"
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue