Summary Files Commits Branches @commit @diff @stats
path: root / modules / personal / xserver.nix
blob: 810122a1e2bbe9a5e8ca9df2c26b37d1e6a286ff (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;
    };
  };
}