diff --git a/modules/xconfig.nix b/modules/xconfig.nix index bca1672..71ab4a6 100644 --- a/modules/xconfig.nix +++ b/modules/xconfig.nix @@ -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;