Files
nix-config/system/hardware/input/opentablet.nix

15 lines
311 B
Nix
Raw Normal View History

2025-07-05 00:02:39 +02:00
{
lib,
config,
...
}:
with lib; let
cfg = config.mySystem.hardware.input.opentablet;
2025-07-05 00:02:39 +02:00
in {
options.mySystem.hardware.input.opentablet.enable = mkEnableOption "Enables OpenTablet drivers";
2025-07-05 00:02:39 +02:00
config.hardware.opentabletdriver = mkIf cfg.enable {
inherit (cfg) enable;
daemon.enable = true;
};
}