Tablet, add opentabletdrivers

This commit is contained in:
Julia Lange 2024-05-26 17:05:34 -07:00
parent 954f44b663
commit 172da40e61
2 changed files with 16 additions and 0 deletions

View file

@ -5,5 +5,6 @@
./display_manager
./nvidia
./wayland_compositors
./tabletdrivers
];
}

View file

@ -0,0 +1,15 @@
{ config, pkgs, lib, ... }:
{
options = {
tablet.enable = lib.mkEnableOption
"Enables tablet support";
};
config = lib.mkIf config.tablet.enable {
hardware.opentabletdriver.enable = true;
environment.systemPackages = with pkgs; [
opentabletdriver
];
};
}