nix/config/Tablet.nix

11 lines
222 B
Nix

{ lib, config, ... }:
let
cfg = config.module.tablet;
in
{
config = lib.mkIf cfg.enable {
hardware.opentabletdriver.enable = true;
systemd.user.services.opentabletdriver.wantedBy = [ "default.target" ];
};
}