{ pkgs, config, lib, ...}: with lib; let cfg = config.eboskma.tablet; in { options.eboskma.tablet = { enable = mkEnableOption "tablet"; }; config = mkIf (cfg.enable) { hardware.opentabletdriver = { enable = true; daemon.enable = true; }; }; }