mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
21 lines
462 B
Nix
21 lines
462 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
commaSep = builtins.concatStringsSep ",";
|
|
in {
|
|
services.xserver = {
|
|
layout = commaSep ["de" "gr"];
|
|
xkbVariant = commaSep ["T3" "polytonic"];
|
|
xkbOptions =
|
|
commaSep ["compose:caps" "terminate:ctrl_alt_bksp" "grp:ctrls_toggle"];
|
|
libinput.enable = true;
|
|
};
|
|
|
|
console.keyMap = "de";
|
|
|
|
# improve held key rate
|
|
services.xserver.displayManager.sessionCommands = "${pkgs.xorg.xset}/bin/xset r rate 300 50";
|
|
}
|