Merge branch 'main' of antimatterForge:Egg/voidconf

This commit is contained in:
Nox Sluijtman 2024-02-05 23:04:24 +01:00
commit 8283068de3

View file

@ -8,15 +8,18 @@ in {
bqn.enable = mkEnableOption "Enables bqn layout";
touchpad.enableProperConfig = mkEnableOption "Enable the only correct touchpad settings";
touchpad = {
enableProperConfig = mkEnableOption "Enable the only correct touchpad settings";
accelProfile = mkOption {
type = types.enum [ "flat" "adaptive" ];
default = "adaptive";
example = "flat";
description = ''
Usually want this on adaptive.
'';
};
touchpad.accelProfile = mkOption {
type = types.enum [ "flat" "adaptive" ];
default = "adaptive";
example = "flat";
description = ''
Usually want this on adaptive.
'';
};
mouse.accelProfile = mkOption {
@ -68,10 +71,10 @@ in {
accelProfile = cfg.mouse.accelProfile;
middleEmulation = false;
};
touchpad.accelProfile = cfg.touchpad.accelProfile;
touchpad = mkIf cfg.touchpad.enableProperConfig {
tapping = false;
disableWhileTyping = true;
accelProfile = cfg.touchpad.accelProfile;
};
};
};