1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/configs/keyboard.nix

18 lines
464 B
Nix
Raw Normal View History

2020-05-31 18:24:15 +02:00
{ pkgs, lib, ... }:
2020-06-10 17:37:25 +02:00
let commaSep = builtins.concatStringsSep ",";
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;
};
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
}