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:
parent
3c25e33c2f
commit
c395f4a881
1 changed files with 4 additions and 7 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue