Will finally work?

This commit is contained in:
Nox Sluijtman 2024-05-20 11:13:43 +02:00
parent f90c3a3ef4
commit 9b1fb64eb9

View file

@ -6,6 +6,8 @@ in {
enable = mkEnableOption "Enables opinionated xorg config";
enableKeyRepeatSettings = mkEnableOption "Enables insanely fast keyrepeat";
bqn.enable = mkEnableOption "Enables bqn layout";
touchpad = {
@ -17,7 +19,7 @@ in {
example = "flat";
description = ''
Usually want this on adaptive.
'';
'';
};
};
@ -55,8 +57,8 @@ in {
xkbOptions = mkIf cfg.bqn.enable "grp:switch";
enable = true;
autoRepeatDelay = 200;
autoRepeatInterval = 60;
autoRepeatDelay = mkIf cfg.enableKeyRepeatSettings 200;
autoRepeatInterval = mkIf cfg.enableKeyRepeatSettings 60;
windowManager = {
windowmaker.enable = true;
xmonad.enable = true;