1 { config, lib, pkgs, ... }:
5 let cfg = config.services.touchegg;
9 maintainers = teams.pantheon.members;
13 options.services.touchegg = {
14 enable = mkEnableOption (lib.mdDoc "touchegg, a multi-touch gesture recognizer");
18 default = pkgs.touchegg;
19 defaultText = literalExpression "pkgs.touchegg";
20 description = lib.mdDoc "touchegg derivation to use.";
25 config = mkIf cfg.enable {
26 systemd.services.touchegg = {
27 description = "Touchegg Daemon";
30 ExecStart = "${cfg.package}/bin/touchegg --daemon";
31 Restart = "on-failure";
33 wantedBy = [ "multi-user.target" ];
36 environment.systemPackages = [ cfg.package ];