Merge branch 'main' of antimatterForge:Egg/voidconf
This commit is contained in:
commit
8283068de3
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue