nix/config/Tablet.nix

11 lines
222 B
Nix
Raw Permalink Normal View History

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