17 lines
271 B
Nix
17 lines
271 B
Nix
{ config, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.eboskma.tablet;
|
|
in
|
|
{
|
|
options.eboskma.tablet = {
|
|
enable = mkEnableOption "tablet";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
hardware.opentabletdriver = {
|
|
enable = true;
|
|
daemon.enable = true;
|
|
};
|
|
};
|
|
}
|