2020-05-31 18:24:15 +02:00
|
|
|
{ pkgs, lib, ... }:
|
2020-06-10 17:37:25 +02:00
|
|
|
let commaSep = builtins.concatStringsSep ",";
|
2019-08-27 17:24:33 +02:00
|
|
|
in {
|
2019-04-19 03:11:51 +02:00
|
|
|
services.xserver = {
|
2019-12-08 22:02:14 +01:00
|
|
|
layout = commaSep [ "de" "gr" ];
|
|
|
|
|
xkbVariant = commaSep [ "T3" "polytonic" ];
|
2020-06-10 17:37:25 +02:00
|
|
|
xkbOptions =
|
|
|
|
|
commaSep [ "compose:caps" "terminate:ctrl_alt_bksp" "grp:ctrls_toggle" ];
|
2019-04-19 03:11:51 +02:00
|
|
|
libinput.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
2020-04-22 17:42:45 +02:00
|
|
|
console.keyMap = "de";
|
2020-05-31 18:24:15 +02:00
|
|
|
|
|
|
|
|
# improve held key rate
|
2020-06-10 17:37:25 +02:00
|
|
|
services.xserver.displayManager.sessionCommands =
|
|
|
|
|
"${pkgs.xorg.xset}/bin/xset r rate 300 50";
|
2019-04-19 03:11:51 +02:00
|
|
|
}
|