From 175a40b23d141110dc9fd679bf729410aa0a9c34 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Mon, 20 May 2024 11:32:01 +0200 Subject: [PATCH] Finally found the logic Reading the documentation might help --- modules/xconfig.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/xconfig.nix b/modules/xconfig.nix index eeafdcd..50b8cc2 100644 --- a/modules/xconfig.nix +++ b/modules/xconfig.nix @@ -6,8 +6,6 @@ in { enable = mkEnableOption "Enables opinionated xorg config"; - enableKeyRepeatSettings = mkEnableOption "Enables insanely fast keyrepeat"; - bqn.enable = mkEnableOption "Enables bqn layout"; touchpad = { @@ -57,8 +55,8 @@ in { xkbOptions = mkIf cfg.bqn.enable "grp:switch"; enable = true; - autoRepeatDelay = mkIf cfg.enableKeyRepeatSettings 200; - autoRepeatInterval = mkIf cfg.enableKeyRepeatSettings 60; + autoRepeatDelay = 200; + autoRepeatInterval = 16; windowManager = { windowmaker.enable = true; xmonad.enable = true;