15 lines
272 B
Nix
15 lines
272 B
Nix
{ 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;
|
|
};
|
|
};
|
|
}
|