2016-12-14 13:05:23 +01:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
|
|
|
|
system.defaults.trackpad.Clicking = mkOption {
|
|
|
|
type = types.nullOr types.bool;
|
|
|
|
default = null;
|
2016-12-14 16:38:59 +01:00
|
|
|
description = ''
|
|
|
|
Whether to enable trackpad tap to click. The default is false.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
system.defaults.trackpad.TrackpadRightClick = mkOption {
|
|
|
|
type = types.nullOr types.bool;
|
|
|
|
default = null;
|
|
|
|
description = ''
|
|
|
|
Whether to enable trackpad right click. The default is false.
|
|
|
|
'';
|
2016-12-14 13:05:23 +01:00
|
|
|
};
|
|
|
|
|
2017-10-03 12:14:29 -07:00
|
|
|
system.defaults.trackpad.TrackpadThreeFingerDrag = mkOption {
|
|
|
|
type = types.nullOr types.bool;
|
|
|
|
default = null;
|
|
|
|
description = ''
|
|
|
|
Whether to enable three finger drag. The default is false.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2016-12-14 13:05:23 +01:00
|
|
|
};
|
|
|
|
}
|