feat(hardware): move hardware inputs to dedicated module

This commit is contained in:
2025-11-07 02:26:13 +01:00
parent fc2407940c
commit 1aef3db69d
8 changed files with 32 additions and 14 deletions

View File

@@ -0,0 +1,14 @@
{
lib,
config,
...
}:
with lib; let
cfg = config.mySystem.hardware.input.opentablet;
in {
options.mySystem.hardware.input.opentablet.enable = mkEnableOption "Enables OpenTablet drivers";
config.hardware.opentabletdriver = mkIf cfg.enable {
inherit (cfg) enable;
daemon.enable = true;
};
}