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
|
|
|
|
{
|
2024-02-05 11:46:52 +01:00
|
|
|
options.eboskma.tablet = {
|
|
|
|
enable = mkEnableOption "tablet";
|
|
|
|
};
|
2022-06-24 08:42:58 +02:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|