Summary Files Commits Branches @commit @diff @stats
path: root / modules / xserver.nix
blob: 05d50ec35a856573ee85b5b49737ba7926b36f63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ pkgs, ... }: {
  services.xserver = {
    # xkbmap
    layout = "us,bg-custom";
    xkbVariant = ",phonetic-nonstandard";
    xkbOptions = "grp:rwin_toggle,grp:alt_shift_toggle,lv3:switch,caps:escape";
    xkb.extraLayouts.bg-custom = {
      description = "Non-standard variant of the traditional Bulgarian phonetic keyboard, which replaces some characters with their English counterparts";
      languages   = [ "bg" ];
      symbolsFile = ../packages/bg-custom;
    };
  };
}