0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/services.touchegg: remove with lib;

This commit is contained in:
Felix Buehler 2024-12-30 14:44:43 +01:00
parent 3c25e33c2f
commit c395f4a881

View file

@ -4,27 +4,24 @@
pkgs,
...
}:
with lib;
let
cfg = config.services.touchegg;
in
{
meta = {
maintainers = teams.pantheon.members;
maintainers = lib.teams.pantheon.members;
};
###### interface
options.services.touchegg = {
enable = mkEnableOption "touchegg, a multi-touch gesture recognizer";
enable = lib.mkEnableOption "touchegg, a multi-touch gesture recognizer";
package = mkPackageOption pkgs "touchegg" { };
package = lib.mkPackageOption pkgs "touchegg" { };
};
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.touchegg = {
description = "Touchegg Daemon";
serviceConfig = {