# PCSCD management { config, lib, ... }: let cfg = config.my.services.pcscd; in { options.my.services.pcscd = { enable = lib.mkEnableOption "pcscd configuration (for yubikeys)"; }; config = lib.mkIf cfg.enable { services.pcscd.enable = true; }; }