15 lines
292 B
Nix
15 lines
292 B
Nix
{ pkgs, lib, config, ... }: with lib; let
|
|
cfg = config.module.tablet;
|
|
in {
|
|
options = {
|
|
module.tablet.enable = mkEnableOption "Support for tables.";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
hardware.opentabletdriver.enable = true;
|
|
environment.systemPackages = with pkgs; [
|
|
krita
|
|
];
|
|
};
|
|
}
|