steal from MaxMur

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-04-03 17:57:49 +03:00
parent f31ca59f58
commit 211e509628
11 changed files with 94 additions and 84 deletions

View File

@ -2,12 +2,14 @@
config,
lib,
...
}: {
}: let
inherit (lib) mkIf mkEnableOption;
in {
options = {
opentabletdriver.enable =
lib.mkEnableOption "enables opentabletdriver";
mkEnableOption "enables opentabletdriver";
};
config = lib.mkIf config.opentabletdriver.enable {
config = mkIf config.opentabletdriver.enable {
hardware.opentabletdriver = {
enable = true;
daemon.enable = true;