nixos-config/modules/tablet/default.nix

16 lines
272 B
Nix
Raw Normal View History

2022-06-24 08:42:58 +02:00
{ pkgs, 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;
};
};
}