Finally found the logic
Reading the documentation might help
This commit is contained in:
parent
9b1fb64eb9
commit
175a40b23d
|
@ -6,8 +6,6 @@ in {
|
||||||
|
|
||||||
enable = mkEnableOption "Enables opinionated xorg config";
|
enable = mkEnableOption "Enables opinionated xorg config";
|
||||||
|
|
||||||
enableKeyRepeatSettings = mkEnableOption "Enables insanely fast keyrepeat";
|
|
||||||
|
|
||||||
bqn.enable = mkEnableOption "Enables bqn layout";
|
bqn.enable = mkEnableOption "Enables bqn layout";
|
||||||
|
|
||||||
touchpad = {
|
touchpad = {
|
||||||
|
@ -57,8 +55,8 @@ in {
|
||||||
xkbOptions = mkIf cfg.bqn.enable "grp:switch";
|
xkbOptions = mkIf cfg.bqn.enable "grp:switch";
|
||||||
|
|
||||||
enable = true;
|
enable = true;
|
||||||
autoRepeatDelay = mkIf cfg.enableKeyRepeatSettings 200;
|
autoRepeatDelay = 200;
|
||||||
autoRepeatInterval = mkIf cfg.enableKeyRepeatSettings 60;
|
autoRepeatInterval = 16;
|
||||||
windowManager = {
|
windowManager = {
|
||||||
windowmaker.enable = true;
|
windowmaker.enable = true;
|
||||||
xmonad.enable = true;
|
xmonad.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue