commit then think
This commit is contained in:
20
modules/nixos/system/misc/opentabletdriver.nix
Normal file
20
modules/nixos/system/misc/opentabletdriver.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
opentabletdriver.enable =
|
||||
lib.mkEnableOption "enables opentabletdriver";
|
||||
};
|
||||
config = lib.mkIf config.opentabletdriver.enable {
|
||||
hardware.opentabletdriver = {
|
||||
enable = true;
|
||||
daemon.enable = true;
|
||||
blacklistedKernelModules = [
|
||||
"hid-uclogic"
|
||||
"wacom"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user