{ povSelf, hostConfig, config, lib, pkgs, ... }: let inherit (lib) types; cfg = lib.getAttrFromPath povSelf config; in { options.enable = { type = types.bool; default = false; }; config = lib.mkIf cfg.enable { services = { pcscd.enable = true; udev.packages = with pkgs; [ libu2f-host ]; dbus.packages = with pkgs; [ gcr ]; }; }; }