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

17 lines
455 B
Nix
Raw Normal View History

2020-05-31 18:24:15 +02:00
{ pkgs, lib, ... }:
2019-12-27 23:43:06 +01: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" ];
2019-04-19 03:11:51 +02:00
xkbOptions = commaSep [ "compose:caps" "terminate:ctrl_alt_bksp" "grp:ctrls_toggle" ];
libinput.enable = true;
};
console.keyMap = "de";
2020-05-31 18:24:15 +02:00
# improve held key rate
services.xserver.displayManager.sessionCommands = "${pkgs.xorg.xset}/bin/xset r rate 300 50";
2019-04-19 03:11:51 +02:00
}