This commit is contained in:
Nox Sluijtman 2024-01-01 17:59:39 +01:00
parent 75de9ca7d0
commit aed5e4c057

View file

@ -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;