From c6e41e3a231fd4cabcc6fbf38b8bc3dd708fa4aa Mon Sep 17 00:00:00 2001 From: fredrikr79 Date: Mon, 1 Jul 2024 18:20:27 +0200 Subject: [PATCH] repeat delay lowered --- configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configuration.nix b/configuration.nix index 1d5fc6a..2c9bed0 100644 --- a/configuration.nix +++ b/configuration.nix @@ -83,6 +83,9 @@ in services.xserver = { enable = true; autorun = true; + + autoRepeatDelay = 250; + autoRepeatInterval = 24; # DVORAK + NO layout = "us,no"; @@ -253,5 +256,12 @@ in # script = "/home/fredrikr/.fehbg &"; # }; + # Power button invokes suspend, not shutdown. + + services.logind = { + # extraConfig = "HandlePowerKey=hibernate"; + lidSwitch = "hybrid-sleep"; + powerKey = "hibernate"; + }; }