Touchpad
This commit is contained in:
parent
75de9ca7d0
commit
aed5e4c057
|
@ -10,6 +10,15 @@ in {
|
|||
|
||||
touchpad.enableProperConfig = mkEnableOption "Enable the only correct touchpad settings";
|
||||
|
||||
touchpad.accelProfile = mkOption {
|
||||
type = types.enum [ "flat" "adaptive" ];
|
||||
default = "adaptive";
|
||||
example = "flat";
|
||||
description = ''
|
||||
Usually want this on adaptive.
|
||||
'';
|
||||
};
|
||||
|
||||
mouse.accelProfile = mkOption {
|
||||
type = types.enum [ "flat" "adaptive" ];
|
||||
default = "flat";
|
||||
|
@ -59,6 +68,7 @@ in {
|
|||
accelProfile = cfg.mouse.accelProfile;
|
||||
middleEmulation = false;
|
||||
};
|
||||
touchpad.accelProfile = cfg.touchpad.accelProfile;
|
||||
touchpad = mkIf cfg.touchpad.enableProperConfig {
|
||||
tapping = false;
|
||||
disableWhileTyping = true;
|
||||
|
|
Loading…
Reference in a new issue