ma hw/smartcard: init
This commit is contained in:
parent
0ec29bc7d2
commit
2e31d4bc49
18
makefu/2configs/hw/smartcard.nix
Normal file
18
makefu/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 New Issue
Block a user