19 lines
461 B
Nix
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;
|
|
}
|