2022-06-27 10:10:27 +02:00
|
|
|
{ pkgs, config, lib, ... }:
|
2022-06-24 08:42:58 +02:00
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.eboskma.tablet;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.eboskma.tablet = { enable = mkEnableOption "tablet"; };
|
|
|
|
|
2022-10-05 11:32:13 +02:00
|
|
|
config = mkIf cfg.enable {
|
2022-06-24 08:42:58 +02:00
|
|
|
hardware.opentabletdriver = {
|
|
|
|
enable = true;
|
|
|
|
daemon.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|