Files
nixos-blueprint/modules/nixos/system/misc/opentabletdriver.nix
2025-06-19 10:23:34 +03:00

23 lines
424 B
Nix

{
config,
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
in {
options = {
module.misc.opentabletdriver.enable =
mkEnableOption "enables opentabletdriver";
};
config = mkIf config.module.misc.opentabletdriver.enable {
hardware.opentabletdriver = {
enable = true;
daemon.enable = true;
blacklistedKernelModules = [
"hid-uclogic"
"wacom"
];
};
};
}