Files
nixos-blueprint/modules/nixos/system/misc/opentabletdriver.nix
unexplrd 0efe2321f7 rework modules
Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-11-27 14:33:33 +02: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"
];
};
};
}