Summary Files Commits Branches @commit @diff @stats
path: root / modules / xserver.nix
blob: 8c2044292f1e54ac988921436b996dce9e17619d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ pkgs, ... }: {
  services.xserver = {
    # xkbmap
    xkb.layout = "us,bg-custom";
    xkb.variant = ",phonetic-nonstandard";
    xkb.options = "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;
    };
  };
}