1 { config, lib, pkgs, ... }:
5 let cfg = config.services.touchegg;
9 maintainers = teams.pantheon.members;
13 options.services.touchegg = {
14 enable = mkEnableOption "touchegg, a multi-touch gesture recognizer";
16 package = mkPackageOption pkgs "touchegg" { };
20 config = mkIf cfg.enable {
21 systemd.services.touchegg = {
22 description = "Touchegg Daemon";
25 ExecStart = "${cfg.package}/bin/touchegg --daemon";
26 Restart = "on-failure";
28 wantedBy = [ "multi-user.target" ];
31 environment.systemPackages = [ cfg.package ];