grimm-nixos-laptop/modules/tabletdriver.nix
2023-11-29 22:56:30 +01:00

19 lines
461 B
Nix

{pkgs, ...}:
{
systemd.services.otd-daemon = {
description = "opentabletdriver daemon, a user service to make the gui work";
after = [ "graphical-session.target" ];
wantedBy = [ "xdg-desktop-autostart.target" ];
serviceConfig = {
ExecStart = "${pkgs.opentabletdriver}/bin/otd-daemon";
Type = "simple";
};
};
environment.systemPackages = with pkgs; [
opentabletdriver
];
hardware.opentabletdriver.enable = true;
}