tablet driver

This commit is contained in:
Kopatz
2024-05-29 15:35:51 +02:00
parent 9980828315
commit 6df154f71d
6 changed files with 51 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
{ pkgs, config, lib, ... }:
with lib;
let cfg = config.custom.hardware.tablet;
in {
options.custom.hardware.tablet = {
enable = mkEnableOption "Enables tablet";
};
config = mkIf cfg.enable {
hardware.opentabletdriver.enable = true;
#hardware.opentabletdriver.package = pkgs.opentabletdriver.overrideAttrs
# (old: { patches = old.patches ++ [ ./tablet-patches.diff ]; });
};
}