9 enable = lib.mkOption {
10 type = lib.types.bool;
13 Enable OnlyKey device (https://crp.to/p/) support.
20 ## As per OnlyKey's documentation piece (hhttps://docs.google.com/document/d/1Go_Rs218fKUx-j_JKhddbSVTqY6P0vQO831t2MKCJC8),
21 ## it is important to add udev rule for OnlyKey for it to work on Linux
23 ####### implementation
25 config = lib.mkIf config.hardware.onlykey.enable {
26 services.udev.extraRules = builtins.readFile ./onlykey.udev;