2022-11-19 20:00:54 +01:00
|
|
|
{ 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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|